MadelineProtoDocs/docs/API_docs/constructors/messageActionPaymentSentMe.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.6 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];

PWRTelegram json-encoded version:

{"_": "messageActionPaymentSentMe", "currency": "string", "total_amount": long, "payload": {"_": "bytes", "bytes":"base64 encoded 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}