Constructor type of
32-bit) – ID of the message.
Peer) – Peer ID, the chat where this message was sent.
32-bit) – Date of the message.
str) – The message.
bool, optional) – Is this an outgoing message.
bool, optional) – Whether we were mentioned in this message.
bool, optional) – Whether there are unread media attachments in this message.
bool, optional) – Whether this is a silent message (no notification triggered).
bool, optional) – Whether this is a channel post.
bool, optional) – Whether this is a scheduled message.
bool, optional) – This is a legacy message: it has to be refetched with the new layer.
bool, optional) – Whether the message should be shown as not modified to the user, even if an edit date is present.
bool, optional) – Whether this message is pinned.
Peer, optional) – ID of the sender of the message.
MessageFwdHeader, optional) – Info about forwarded messages.
32-bit, optional) – ID of the inline bot that generated the message.
MessageReplyHeader, optional) – Reply information.
MessageMedia, optional) – Media attachment.
ReplyMarkup, optional) – Reply markup (bot/inline keyboards).
entities (List of
MessageEntity, optional) – Message entities for styled text.
32-bit, optional) – View count for channel posts.
32-bit, optional) – Forward counter.
MessageReplies, optional) – Info about post comments (for channels) or message replies (for groups).
32-bit, optional) – Last edit date of this message.
str, optional) – Name of the author of this message for channel posts (with signatures enabled).
64-bit, optional) – Multiple media messages sent using messages.sendMultiMedia with the same grouped ID indicate an album or media group.
restriction_reason (List of
RestrictionReason, optional) – Contains the reason why access to this message must be restricted.
32-bit, optional) – Telegram API parameter.