export Class
SuccessfulPayment ​
extends ​
BaseClass
<SuccessfulPayment
, SerializedSuccessfulPayment
>
implements ​
Constructor ​
ts
new SuccessfulPayment( client, packet )
Parameter | Type | Description |
---|---|---|
client | Client | |
packet | SerializedSuccessfulPayment |
Properties ​
get chat : Chat
​
get message : Message
​
get user : User
​
chat_id? : number
​
readonly client : Client
​
currency : string
​
from? : UserPacket
​
invoice_payload : string
​
message_id : number
​
order_info? : OrderInfo
​
provider_payment_charge_id : string
​
shipping_option_id? : number
​
telegram_payment_charge_id : string
​
total_amount : number
​
user_id? : number
​
Methods ​
asyncrefund( ) ​
Returns:
Promise
<boolean
>