Readonly_ReadonlyisWhether the message is scheduled. If it is, then its date is set to future.
ReadonlyrawRaw TL object.
ReadonlyupdateMessage action. null for non-service messages
or for unsupported events.
For unsupported events, use .raw.action directly.
Whether this message can be forwarded
false for service mesasges and private restricted chats/chanenls
Whether reactions are possible on this message
Note: for non-service message this is always
true, regardless if the message can actually be reacted to.
Conversation the message belongs to
Unique identifier of the business connection from which the message was received.
Date when the message was sent
Date when the message was last edited
If this message was sent with a message effect, ID of the effect
Message text/caption entities (may be empty)
Information about fact-check added to the message, if any
If this message is a forward, contains info about it.
For channel posts, number of forwards
null for service messages and non-post messages, or
if the current user is not an admin in the channel
Multiple media messages with the same grouped ID indicate an album or media group
null for service messages and non-grouped messages
Same as groupedId, but is globally unique across chats.
Whether there are unread media attachments in this message
Whether the message should be considered unedited, even if editDate ≠ null
Unique message identifier inside this chat
If set, any eventual webpage preview should be shown on top of the message instead of at the bottom.
Whether the message is a channel post that was automatically forwarded to the connected discussion group
Whether this is a broadcast channel post
Whether this message has content protection (i.e. disabled forwards)
Whether this is a premium media (e.g. >2gb file or fullscreen sticker) that was forwarded without author by a non-premium user
Whether the message was sent by an implicit action, for example, as an away or a greeting business message, or as a scheduled message
Whether this message was automatically sent from a scheduled message.
Note: for messages sent by other users, this is always false.
Whether this message contains mention of the current user
Whether the message is incoming or outgoing:
outgoing = false)outgoing = true)outgoing = false)Whether the message is pinned in the current chat
Whether this message is a service message
Whether this is a silent message (no notification triggered)
Whether this message is in a forum topic
Reply markup provided with this message, if any.
Message media. null for text-only and service messages
and for unsupported media types.
For unsupported media types, use .raw.media directly.
If non-null, this message is not actually sent, and is instead inside a group of "quick reply" messages under the given shortcut ID
Reactions added to this message, if any
Information about comments (for channels) or replies (for groups)
The replied message (if any)
For replies, information about the that is being replied to.
Mutually exclusive with replyToStory
For replies, information about the story that is being replied to
Mutually exclusive with replyToMessage
If this message is a scheduled message, the repeat period in seconds
Message sender.
Usually is a User, but can be a Peer in case the message was sent by an anonymous admin, anonymous premium user, or if the message is a forwarded channel post.
If the message was sent by an anonymous admin, sender will equal to chat.
If the message is a forwarded channel post, sender is the channel itself.
Number of boosts applied to this chat by the sender
If this message was paid, the number of stars spent sending it
For channel posts with signatures enabled, name of the post author
If this message was a paid suggested post, the type of payment
(either stars or ton)
If this is/was a suggested post, information about it
Message text or media caption.
Empty string for service messages (you should handle i18n yourself)
TTL period of the message, in seconds.
If this message is generated from an inline query, information about the bot which generated it
Whether this message has a video that is still being processed
For channel posts, number of views
null for service messages and non-post messages.
Update about a new or edited business message.