MadelineProto/old_docs/API_docs_v68/constructors/messageActionPaymentSentMe.md

48 lines
1.4 KiB
Markdown
Raw Normal View History

2017-07-23 17:44:01 +02:00
---
title: messageActionPaymentSentMe
description: messageActionPaymentSentMe attributes, type and example
---
## Constructor: messageActionPaymentSentMe
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|
2017-07-23 17:44:01 +02:00
|currency|[string](../types/string.md) | Yes|
|total\_amount|[long](../types/long.md) | Yes|
|payload|[bytes](../types/bytes.md) | Yes|
|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|
|shipping\_option\_id|[string](../types/string.md) | Optional|
|charge|[PaymentCharge](../types/PaymentCharge.md) | Yes|
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```
$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "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}
```