updateShortChatMessage
Shortened constructor containing info on one new incoming text message from a chat
type tg.UpdateShortChatMessage struct { /* ... */ }
Implements Updates.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Out | bool | — | Whether the message is outgoing |
Mentioned | bool | — | Whether we were mentioned in this message |
MediaUnread | bool | — | Whether the message contains some unread mentions |
Silent | bool | — | If true, the message is a silent message, no notifications should be triggered |
ID | int | yes | ID of the message |
FromID | int64 | yes | ID of the sender of the message |
ChatID | int64 | yes | ID of the chat where the message was sent |
Message | string | yes | Message |
Pts | int | yes | PTS |
PtsCount | int | yes | PTS count |
Date | int | yes | date |
FwdFrom | MessageFwdHeader | — | Info about a forwarded message |
ViaBotID | int64 | — | Info about the inline bot used to generate this message |
ReplyTo | MessageReplyHeaderClass | — | Reply (thread) information |
Entities | []MessageEntityClass | — | Entities for styled text |
TTLPeriod | 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. |
References
- Official documentation
- Generated Go reference
- TL definition:
updateShortChatMessage#4d6deea5