telegram api constructor · layer 229 · #313bc7f8
updateShortMessage
Info about a message sent to (received from) another user
definition
updateShortMessage#313bc7f8 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int user_id:long message:string pts:int pts_count:int date:int fwd_from:flags.2?MessageFwdHeader via_bot_id:flags.11?long reply_to:flags.3?MessageReplyHeader entities:flags.7?Vector<MessageEntity> ttl_period:flags.25?int = Updates;
parameters
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
out | true | Whether the message is outgoing |
mentioned | true | Whether we were mentioned in the message |
media_unread | true | Whether there are some unread mentions in this message |
silent | true | If true, the message is a silent message, no notifications should be triggered |
id | int | The message ID |
user_id | long | The ID of the sender (if outgoing will be the ID of the destination) of the message |
message | string | The message |
pts | int | PTS |
pts_count | int | PTS count |
date | int | date |
fwd_from | MessageFwdHeader | Info about a forwarded message |
via_bot_id | long | Info about the inline bot used to generate this message |
reply_to | MessageReplyHeader | Reply and thread information |
entities | Vector<MessageEntity> | Entities for styled text |
ttl_period | int | Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. |
type
Updates · other constructors: updatesTooLong, updateShortChatMessage, updateShort, updatesCombined, updates, updateShortSentMessage
history
present in layers 2–229 · constructor id changed 5×
| id | layers |
|---|---|
| #d3f45784 | 2–23 |
| #13e4deaa | 46 |
| #914fbf11 | 62–118 |
| #2296d2c8 | 119–123 |
| #faeff833 | 124–132 |
| #313bc7f8 | 133–229 |