1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 22:56:54 +01:00
MadelineProto/docs/TD_docs/constructors/updateMessageSendFailed.md
2017-07-23 16:33:46 +02:00

1.5 KiB

title description
updateMessageSendFailed Message fails to send. Be aware that some being sent messages can be irrecoverably deleted and updateDeleteMessages will come instead of this update (or doesn't come at all if deletion was done by call to deleteMessages)

Constructor: updateMessageSendFailed

Back to constructors index

Message fails to send. Be aware that some being sent messages can be irrecoverably deleted and updateDeleteMessages will come instead of this update (or doesn't come at all if deletion was done by call to deleteMessages)

Attributes:

Name Type Required Description
chat_id long Yes Chat identifier
message_id long Yes Message identifier
error_code int Yes Error code
error_message string Yes Error message

Type: Update

Example:

$updateMessageSendFailed = ['_' => 'updateMessageSendFailed', 'chat_id' => long, 'message_id' => long, 'error_code' => int, 'error_message' => 'string'];

PWRTelegram json-encoded version:

{"_": "updateMessageSendFailed", "chat_id": long, "message_id": long, "error_code": int, "error_message": "string"}

Or, if you're into Lua:

updateMessageSendFailed={_='updateMessageSendFailed', chat_id=long, message_id=long, error_code=int, error_message='string'}