1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 05:14:39 +01:00
MadelineProto/old_docs/API_docs_v66/constructors/messageActionPaymentSent.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

861 B

title description
messageActionPaymentSent messageActionPaymentSent attributes, type and example

Constructor: messageActionPaymentSent

Back to constructors index

Attributes:

Name Type Required
currency string Yes
total_amount long Yes

Type: MessageAction

Example:

$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long];

PWRTelegram json-encoded version:

{"_": "messageActionPaymentSent", "currency": "string", "total_amount": long}

Or, if you're into Lua:

messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long}