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

46 lines
990 B
Markdown

---
title: messageActionPaymentSent
description: Message action payment sent
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messageActionPaymentSent
[Back to constructors index](index.md)
Message action payment sent
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|currency|[string](../types/string.md) | Yes|Currency|
|total\_amount|[long](../types/long.md) | Yes|Total amount|
### Type: [MessageAction](../types/MessageAction.md)
### Example:
```php
$messageActionPaymentSent = ['_' => 'messageActionPaymentSent', 'currency' => 'string', 'total_amount' => long];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messageActionPaymentSent", "currency": "string", "total_amount": long}
```
Or, if you're into Lua:
```lua
messageActionPaymentSent={_='messageActionPaymentSent', currency='string', total_amount=long}
```