telegram api constructor · layer 229 · #4d6deea5
updateShortChatMessage
Shortened constructor containing info on one new incoming text message from a chat
definition
updateShortChatMessage#4d6deea5 flags:# out:flags.1?true mentioned:flags.4?true media_unread:flags.5?true silent:flags.13?true id:int from_id:long chat_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 this message |
media_unread | true | Whether the message contains some unread mentions |
silent | true | If true, the message is a silent message, no notifications should be triggered |
id | int | ID of the message |
from_id | long | ID of the sender of the message |
chat_id | long | ID of the chat where the message was sent |
message | string | 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 (thread) information |
entities | Vector<MessageEntity> | Entities for styled text |
ttl_period | int | Time To Live of the message, once updateShortChatMessage.date+updateShortChatMessage.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well. |
type
Updates · other constructors: updatesTooLong, updateShortMessage, updateShort, updatesCombined, updates, updateShortSentMessage
history
present in layers 2–229 · constructor id changed 5×
| id | layers |
|---|---|
| #2b2fbd4e | 2–23 |
| #248afa62 | 46 |
| #16812688 | 62–118 |
| #402d5dbb | 119–123 |
| #1157b858 | 124–132 |
| #4d6deea5 | 133–229 |