1.6 KiB
1.6 KiB
title | description | image |
---|---|---|
messageActionPaymentSentMe | Message action payment sent me | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: messageActionPaymentSentMe
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}