MadelineProtoDocs/old_docs/API_docs_v75/constructors/messageActionPaymentSentMe.md

44 lines
1.3 KiB
Markdown
Raw Normal View History

2018-06-29 13:59:08 +02:00
---
title: messageActionPaymentSentMe
2018-12-26 02:56:50 +01:00
description: Message action payment sent me
2018-06-29 13:59:08 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionPaymentSentMe
[Back to constructors index](index.md)
2018-12-26 02:56:50 +01:00
Message action payment sent me
2018-06-29 13:59:08 +02:00
### Attributes:
2018-12-26 02:56:50 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|currency|[string](../types/string.md) | Yes|Currency|
|total\_amount|[long](../types/long.md) | Yes|Total amount|
|payload|[bytes](../types/bytes.md) | Yes|Payload|
|info|[PaymentRequestedInfo](../types/PaymentRequestedInfo.md) | Optional|Info|
|shipping\_option\_id|[string](../types/string.md) | Optional|Shipping option ID|
|charge|[PaymentCharge](../types/PaymentCharge.md) | Yes|Charge|
2018-06-29 13:59:08 +02:00
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```php
2018-06-29 13:59:08 +02:00
$messageActionPaymentSentMe = ['_' => 'messageActionPaymentSentMe', 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'info' => PaymentRequestedInfo, 'shipping_option_id' => 'string', 'charge' => PaymentCharge];
```
Or, if you're into Lua:
2018-06-29 13:59:08 +02:00
```lua
2018-06-29 13:59:08 +02:00
messageActionPaymentSentMe={_='messageActionPaymentSentMe', currency='string', total_amount=long, payload='bytes', info=PaymentRequestedInfo, shipping_option_id='string', charge=PaymentCharge}
```