1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-16 16:56:55 +01:00
MadelineProto/docs/TD_docs/constructors/updateMessageSendSucceeded.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

46 lines
1.0 KiB
Markdown

---
title: updateMessageSendSucceeded
description: Message is successfully sent
---
## Constructor: updateMessageSendSucceeded
[Back to constructors index](index.md)
Message is successfully sent
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|message|[message](../types/message.md) | Yes|Information about sent message. Usually only message identifier, date and content are changed, but some other fields may also change|
|old\_message\_id|[long](../types/long.md) | Yes|Previous temporary message identifier|
### Type: [Update](../types/Update.md)
### Example:
```
$updateMessageSendSucceeded = ['_' => 'updateMessageSendSucceeded', 'message' => message, 'old_message_id' => long];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "updateMessageSendSucceeded", "message": message, "old_message_id": long}
```
Or, if you're into Lua:
```
updateMessageSendSucceeded={_='updateMessageSendSucceeded', message=message, old_message_id=long}
```