ExGram.Model.SuccessfulPayment (ex_gram v0.56.0)

View Source

This object contains basic information about a successful payment. Note that if the buyer initiates a chargeback with the relevant payment provider following this transaction, the funds may be debited from your balance. This is outside of Telegram's control.

Check the documentation of this model in https://core.telegram.org/bots/api#successfulpayment

Summary

Types

t()

@type t() :: %ExGram.Model.SuccessfulPayment{
  currency: String.t(),
  invoice_payload: String.t(),
  is_first_recurring: boolean() | nil,
  is_recurring: boolean() | nil,
  order_info: ExGram.Model.OrderInfo.t() | nil,
  provider_payment_charge_id: String.t(),
  shipping_option_id: String.t() | nil,
  subscription_expiration_date: integer() | nil,
  telegram_payment_charge_id: String.t(),
  total_amount: integer()
}

Functions

decode_as()