MadelineProto/docs/TD_docs/constructors/updateMessageSendSucceeded.md

46 lines
1.0 KiB
Markdown
Raw Normal View History

---
title: updateMessageSendSucceeded
description: Message is successfully sent
---
## Constructor: updateMessageSendSucceeded
[Back to constructors index](index.md)
Message is successfully sent
### Attributes:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
|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:
```
2017-07-23 16:33:46 +02:00
$updateMessageSendSucceeded = ['_' => 'updateMessageSendSucceeded', 'message' => message, 'old_message_id' => long];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
2017-07-23 16:33:46 +02:00
{"_": "updateMessageSendSucceeded", "message": message, "old_message_id": long}
2017-07-23 16:11:02 +02:00
```
Or, if you're into Lua:
```
2017-07-23 16:33:46 +02:00
updateMessageSendSucceeded={_='updateMessageSendSucceeded', message=message, old_message_id=long}
```