MadelineProtoDocs/old_docs/API_docs_v95/constructors/messageActionPaymentSentMe.md

1.3 KiB

title description image
messageActionPaymentSentMe Message action payment sent me https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: messageActionPaymentSentMe

Back to constructors index

Message action payment sent me

Attributes:

Name Type Required Description
currency string Yes Currency
total_amount long Yes Total amount
payload bytes Yes Payload
info PaymentRequestedInfo Optional Info
shipping_option_id string Optional Shipping option ID
charge PaymentCharge Yes Charge

Type: MessageAction

Example:

$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge];

Or, if you're into Lua:

messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge}