Message
- class pyrogram.raw.base.Message
Object describing a message.
- Constructors:
This base type has 3 constructors available.
A message
Empty constructor, non-existent message.
Indicates a service message
TL Schema
message#3ae56482
flags:#
out:flags.1?true
mentioned:flags.4?true
media_unread:flags.5?true
silent:flags.13?true
post:flags.14?true
from_scheduled:flags.18?true
legacy:flags.19?true
edit_hide:flags.21?true
pinned:flags.24?true
noforwards:flags.26?true
invert_media:flags.27?true
flags2:#
offline:flags2.1?true
video_processing_pending:flags2.4?true
paid_suggested_post_stars:flags2.8?true
paid_suggested_post_ton:flags2.9?true
id:int
from_id:flags.8?Peer
from_boosts_applied:flags.29?int
from_rank:flags2.12?string
peer_id:Peer
saved_peer_id:flags.28?Peer
fwd_from:flags.2?MessageFwdHeader
via_bot_id:flags.11?long
via_business_bot_id:flags2.0?long
reply_to:flags.3?MessageReplyHeader
date:int
message:string
media:flags.9?MessageMedia
reply_markup:flags.6?ReplyMarkup
entities:flags.7?Vector<MessageEntity>
views:flags.10?int
forwards:flags.10?int
replies:flags.23?MessageReplies
edit_date:flags.15?int
post_author:flags.16?string
grouped_id:flags.17?long
reactions:flags.20?MessageReactions
restriction_reason:flags.22?Vector<RestrictionReason>
ttl_period:flags.25?int
quick_reply_shortcut_id:flags.30?int
effect:flags2.2?long
factcheck:flags2.3?FactCheck
report_delivery_until_date:flags2.5?int
paid_message_stars:flags2.6?long
suggested_post:flags2.7?SuggestedPost
schedule_repeat_period:flags2.10?int
summary_from_language:flags2.11?string
= Message
Parameter Tree
Message
├── out →
true (optional)├── mentioned →
true (optional)├── media_unread →
true (optional)├── silent →
true (optional)├── post →
true (optional)├── from_scheduled →
true (optional)├── legacy →
true (optional)├── edit_hide →
true (optional)├── pinned →
true (optional)├── noforwards →
true (optional)├── invert_media →
true (optional)├── offline →
true (optional)├── video_processing_pending →
true (optional)├── paid_suggested_post_stars →
true (optional)├── paid_suggested_post_ton →
true (optional)├── id →
int├── from_id →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── from_boosts_applied →
int (optional)├── from_rank →
string (optional)├── peer_id →
Peer│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── saved_peer_id →
Peer (optional)│ ├──
PeerUser│ │ └── user_id →
long│ ├──
PeerChat│ │ └── chat_id →
long│ └──
PeerChannel│ └── channel_id →
long├── fwd_from →
MessageFwdHeader (optional)│ └──
MessageFwdHeader│ ├── imported →
true (optional)│ ├── saved_out →
true (optional)│ ├── from_id →
Peer (optional)│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── from_name →
string (optional)│ ├── date →
int│ ├── channel_post →
int (optional)│ ├── post_author →
string (optional)│ ├── saved_from_peer →
Peer (optional)│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── saved_from_msg_id →
int (optional)│ ├── saved_from_id →
Peer (optional)│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── saved_from_name →
string (optional)│ ├── saved_date →
int (optional)│ └── psa_type →
string (optional)├── via_bot_id →
long (optional)├── via_business_bot_id →
long (optional)├── reply_to →
MessageReplyHeader (optional)│ ├──
MessageReplyHeader│ │ ├── reply_to_scheduled →
true (optional)│ │ ├── forum_topic →
true (optional)│ │ ├── quote →
true (optional)│ │ ├── reply_to_msg_id →
int (optional)│ │ ├── reply_to_peer_id →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ │ └── user_id →
long│ │ │ ├──
PeerChat│ │ │ │ └── chat_id →
long│ │ │ └──
PeerChannel│ │ │ └── channel_id →
long│ │ ├── reply_from →
MessageFwdHeader (optional)│ │ │ └──
MessageFwdHeader│ │ │ ├── imported →
true (optional)│ │ │ ├── saved_out →
true (optional)│ │ │ ├── from_id →
Peer (optional)│ │ │ │ ├──
PeerUser│ │ │ │ ├──
PeerChat│ │ │ │ └──
PeerChannel│ │ │ ├── from_name →
string (optional)│ │ │ ├── date →
int│ │ │ ├── channel_post →
int (optional)│ │ │ ├── post_author →
string (optional)│ │ │ ├── saved_from_peer →
Peer (optional)│ │ │ │ ├──
PeerUser│ │ │ │ ├──
PeerChat│ │ │ │ └──
PeerChannel│ │ │ ├── saved_from_msg_id →
int (optional)│ │ │ ├── saved_from_id →
Peer (optional)│ │ │ │ ├──
PeerUser│ │ │ │ ├──
PeerChat│ │ │ │ └──
PeerChannel│ │ │ ├── saved_from_name →
string (optional)│ │ │ ├── saved_date →
int (optional)│ │ │ └── psa_type →
string (optional)│ │ ├── reply_media →
MessageMedia (optional)│ │ │ ├──
MessageMediaEmpty│ │ │ ├──
MessageMediaPhoto│ │ │ │ ├── spoiler →
true (optional)│ │ │ │ ├── photo →
Photo (optional)│ │ │ │ │ ├──
PhotoEmpty│ │ │ │ │ └──
Photo│ │ │ │ └── ttl_seconds →
int (optional)│ │ │ ├──
MessageMediaGeo│ │ │ │ └── geo →
GeoPoint│ │ │ │ ├──
GeoPointEmpty│ │ │ │ └──
GeoPoint│ │ │ ├──
MessageMediaContact│ │ │ │ ├── phone_number →
string│ │ │ │ ├── first_name →
string│ │ │ │ ├── last_name →
string│ │ │ │ ├── vcard →
string│ │ │ │ └── user_id →
long│ │ │ ├──
MessageMediaUnsupported│ │ │ ├──
MessageMediaDocument│ │ │ │ ├── nopremium →
true (optional)│ │ │ │ ├── spoiler →
true (optional)│ │ │ │ ├── video →
true (optional)│ │ │ │ ├── round →
true (optional)│ │ │ │ ├── voice →
true (optional)│ │ │ │ ├── document →
Document (optional)│ │ │ │ │ ├──
DocumentEmpty│ │ │ │ │ └──
Document│ │ │ │ ├── alt_documents →
Vector < Document > (optional)│ │ │ │ │ ├──
DocumentEmpty│ │ │ │ │ └──
Document│ │ │ │ ├── video_cover →
Photo (optional)│ │ │ │ │ ├──
PhotoEmpty│ │ │ │ │ └──
Photo│ │ │ │ ├── video_timestamp →
int (optional)│ │ │ │ └── ttl_seconds →
int (optional)│ │ │ ├──
MessageMediaWebPage│ │ │ │ ├── force_large_media →
true (optional)│ │ │ │ ├── force_small_media →
true (optional)│ │ │ │ ├── manual →
true (optional)│ │ │ │ ├── safe →
true (optional)│ │ │ │ └── webpage →
WebPage│ │ │ │ ├──
WebPageEmpty│ │ │ │ ├──
WebPagePending│ │ │ │ ├──
WebPage│ │ │ │ └──
WebPageNotModified│ │ │ ├──
MessageMediaVenue│ │ │ │ ├── geo →
GeoPoint│ │ │ │ │ ├──
GeoPointEmpty│ │ │ │ │ └──
GeoPoint│ │ │ │ ├── title →
string│ │ │ │ ├── address →
string│ │ │ │ ├── provider →
string│ │ │ │ ├── venue_id →
string│ │ │ │ └── venue_type →
string│ │ │ ├──
MessageMediaGame│ │ │ │ └── game →
Game│ │ │ │ └──
Game│ │ │ ├──
MessageMediaInvoice│ │ │ │ ├── shipping_address_requested →
true (optional)│ │ │ │ ├── test →
true (optional)│ │ │ │ ├── title →
string│ │ │ │ ├── description →
string│ │ │ │ ├── photo →
WebDocument (optional)│ │ │ │ │ ├──
WebDocument│ │ │ │ │ └──
WebDocumentNoProxy│ │ │ │ ├── receipt_msg_id →
int (optional)│ │ │ │ ├── currency →
string│ │ │ │ ├── total_amount →
long│ │ │ │ ├── start_param →
string│ │ │ │ └── extended_media →
MessageExtendedMedia (optional)│ │ │ │ ├──
MessageExtendedMediaPreview│ │ │ │ └──
MessageExtendedMedia│ │ │ ├──
MessageMediaGeoLive│ │ │ │ ├── geo →
GeoPoint│ │ │ │ │ ├──
GeoPointEmpty│ │ │ │ │ └──
GeoPoint│ │ │ │ ├── heading →
int (optional)│ │ │ │ ├── period →
int│ │ │ │ └── proximity_notification_radius →
int (optional)│ │ │ ├──
MessageMediaPoll│ │ │ │ ├── poll →
Poll│ │ │ │ │ └──
Poll│ │ │ │ └── results →
PollResults│ │ │ │ └──
PollResults│ │ │ ├──
MessageMediaDice│ │ │ │ ├── value →
int│ │ │ │ ├── emoticon →
string│ │ │ │ └── game_outcome →
messages.EmojiGameOutcome (optional)│ │ │ │ └──
messages.EmojiGameOutcome│ │ │ ├──
MessageMediaStory│ │ │ │ ├── via_mention →
true (optional)│ │ │ │ ├── peer →
Peer│ │ │ │ │ ├──
PeerUser│ │ │ │ │ ├──
PeerChat│ │ │ │ │ └──
PeerChannel│ │ │ │ ├── id →
int│ │ │ │ └── story →
StoryItem (optional)│ │ │ │ ├──
StoryItemDeleted│ │ │ │ ├──
StoryItemSkipped│ │ │ │ └──
StoryItem│ │ │ ├──
MessageMediaGiveaway│ │ │ │ ├── only_new_subscribers →
true (optional)│ │ │ │ ├── winners_are_visible →
true (optional)│ │ │ │ ├── channels →
Vector < long >│ │ │ │ ├── countries_iso2 →
Vector < string > (optional)│ │ │ │ ├── prize_description →
string (optional)│ │ │ │ ├── quantity →
int│ │ │ │ ├── months →
int (optional)│ │ │ │ ├── stars →
long (optional)│ │ │ │ └── until_date →
int│ │ │ ├──
MessageMediaGiveawayResults│ │ │ │ ├── only_new_subscribers →
true (optional)│ │ │ │ ├── refunded →
true (optional)│ │ │ │ ├── channel_id →
long│ │ │ │ ├── additional_peers_count →
int (optional)│ │ │ │ ├── launch_msg_id →
int│ │ │ │ ├── winners_count →
int│ │ │ │ ├── unclaimed_count →
int│ │ │ │ ├── winners →
Vector < long >│ │ │ │ ├── months →
int (optional)│ │ │ │ ├── stars →
long (optional)│ │ │ │ ├── prize_description →
string (optional)│ │ │ │ └── until_date →
int│ │ │ ├──
MessageMediaPaidMedia│ │ │ │ ├── stars_amount →
long│ │ │ │ └── extended_media →
Vector < MessageExtendedMedia >│ │ │ │ ├──
MessageExtendedMediaPreview│ │ │ │ └──
MessageExtendedMedia│ │ │ ├──
MessageMediaToDo│ │ │ │ ├── todo →
TodoList│ │ │ │ │ └──
TodoList│ │ │ │ └── completions →
Vector < TodoCompletion > (optional)│ │ │ │ └──
TodoCompletion│ │ │ └──
MessageMediaVideoStream│ │ │ ├── rtmp_stream →
true (optional)│ │ │ └── call →
InputGroupCall│ │ │ ├──
InputGroupCall│ │ │ ├──
InputGroupCallSlug│ │ │ └──
InputGroupCallInviteMessage│ │ ├── reply_to_top_id →
int (optional)│ │ ├── quote_text →
string (optional)│ │ ├── quote_entities →
Vector < MessageEntity > (optional)│ │ │ ├──
MessageEntityUnknown│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityMention│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityHashtag│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityBotCommand│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityUrl│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityEmail│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityBold│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityItalic│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityCode│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityPre│ │ │ │ ├── offset →
int│ │ │ │ ├── length →
int│ │ │ │ └── language →
string│ │ │ ├──
MessageEntityTextUrl│ │ │ │ ├── offset →
int│ │ │ │ ├── length →
int│ │ │ │ └── url →
string│ │ │ ├──
MessageEntityMentionName│ │ │ │ ├── offset →
int│ │ │ │ ├── length →
int│ │ │ │ └── user_id →
long│ │ │ ├──
InputMessageEntityMentionName│ │ │ │ ├── offset →
int│ │ │ │ ├── length →
int│ │ │ │ └── user_id →
InputUser│ │ │ │ ├──
InputUserEmpty│ │ │ │ ├──
InputUserSelf│ │ │ │ ├──
InputUser│ │ │ │ └──
InputUserFromMessage│ │ │ ├──
MessageEntityPhone│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityCashtag│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityUnderline│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityStrike│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityBankCard│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntitySpoiler│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ ├──
MessageEntityCustomEmoji│ │ │ │ ├── offset →
int│ │ │ │ ├── length →
int│ │ │ │ └── document_id →
long│ │ │ ├──
MessageEntityBlockquote│ │ │ │ ├── collapsed →
true (optional)│ │ │ │ ├── offset →
int│ │ │ │ └── length →
int│ │ │ └──
MessageEntityFormattedDate│ │ │ ├── relative →
true (optional)│ │ │ ├── short_time →
true (optional)│ │ │ ├── long_time →
true (optional)│ │ │ ├── short_date →
true (optional)│ │ │ ├── long_date →
true (optional)│ │ │ ├── day_of_week →
true (optional)│ │ │ ├── offset →
int│ │ │ ├── length →
int│ │ │ └── date →
int│ │ ├── quote_offset →
int (optional)│ │ └── todo_item_id →
int (optional)│ └──
MessageReplyStoryHeader│ ├── peer →
Peer│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ └── story_id →
int├── date →
int├── message →
string├── media →
MessageMedia (optional)│ ├──
MessageMediaEmpty│ ├──
MessageMediaPhoto│ │ ├── spoiler →
true (optional)│ │ ├── photo →
Photo (optional)│ │ │ ├──
PhotoEmpty│ │ │ │ └── id →
long│ │ │ └──
Photo│ │ │ ├── has_stickers →
true (optional)│ │ │ ├── id →
long│ │ │ ├── access_hash →
long│ │ │ ├── file_reference →
bytes│ │ │ ├── date →
int│ │ │ ├── sizes →
Vector < PhotoSize >│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ ├── video_sizes →
Vector < VideoSize > (optional)│ │ │ │ ├──
VideoSize│ │ │ │ ├──
VideoSizeEmojiMarkup│ │ │ │ └──
VideoSizeStickerMarkup│ │ │ └── dc_id →
int│ │ └── ttl_seconds →
int (optional)│ ├──
MessageMediaGeo│ │ └── geo →
GeoPoint│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ │ ├── long →
double│ │ ├── lat →
double│ │ ├── access_hash →
long│ │ └── accuracy_radius →
int (optional)│ ├──
MessageMediaContact│ │ ├── phone_number →
string│ │ ├── first_name →
string│ │ ├── last_name →
string│ │ ├── vcard →
string│ │ └── user_id →
long│ ├──
MessageMediaUnsupported│ ├──
MessageMediaDocument│ │ ├── nopremium →
true (optional)│ │ ├── spoiler →
true (optional)│ │ ├── video →
true (optional)│ │ ├── round →
true (optional)│ │ ├── voice →
true (optional)│ │ ├── document →
Document (optional)│ │ │ ├──
DocumentEmpty│ │ │ │ └── id →
long│ │ │ └──
Document│ │ │ ├── id →
long│ │ │ ├── access_hash →
long│ │ │ ├── file_reference →
bytes│ │ │ ├── date →
int│ │ │ ├── mime_type →
string│ │ │ ├── size →
long│ │ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ │ ├──
VideoSize│ │ │ │ ├──
VideoSizeEmojiMarkup│ │ │ │ └──
VideoSizeStickerMarkup│ │ │ ├── dc_id →
int│ │ │ └── attributes →
Vector < DocumentAttribute >│ │ │ ├──
DocumentAttributeImageSize│ │ │ ├──
DocumentAttributeAnimated│ │ │ ├──
DocumentAttributeSticker│ │ │ ├──
DocumentAttributeVideo│ │ │ ├──
DocumentAttributeAudio│ │ │ ├──
DocumentAttributeFilename│ │ │ ├──
DocumentAttributeHasStickers│ │ │ └──
DocumentAttributeCustomEmoji│ │ ├── alt_documents →
Vector < Document > (optional)│ │ │ ├──
DocumentEmpty│ │ │ │ └── id →
long│ │ │ └──
Document│ │ │ ├── id →
long│ │ │ ├── access_hash →
long│ │ │ ├── file_reference →
bytes│ │ │ ├── date →
int│ │ │ ├── mime_type →
string│ │ │ ├── size →
long│ │ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ │ ├──
VideoSize│ │ │ │ ├──
VideoSizeEmojiMarkup│ │ │ │ └──
VideoSizeStickerMarkup│ │ │ ├── dc_id →
int│ │ │ └── attributes →
Vector < DocumentAttribute >│ │ │ ├──
DocumentAttributeImageSize│ │ │ ├──
DocumentAttributeAnimated│ │ │ ├──
DocumentAttributeSticker│ │ │ ├──
DocumentAttributeVideo│ │ │ ├──
DocumentAttributeAudio│ │ │ ├──
DocumentAttributeFilename│ │ │ ├──
DocumentAttributeHasStickers│ │ │ └──
DocumentAttributeCustomEmoji│ │ ├── video_cover →
Photo (optional)│ │ │ ├──
PhotoEmpty│ │ │ │ └── id →
long│ │ │ └──
Photo│ │ │ ├── has_stickers →
true (optional)│ │ │ ├── id →
long│ │ │ ├── access_hash →
long│ │ │ ├── file_reference →
bytes│ │ │ ├── date →
int│ │ │ ├── sizes →
Vector < PhotoSize >│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ ├── video_sizes →
Vector < VideoSize > (optional)│ │ │ │ ├──
VideoSize│ │ │ │ ├──
VideoSizeEmojiMarkup│ │ │ │ └──
VideoSizeStickerMarkup│ │ │ └── dc_id →
int│ │ ├── video_timestamp →
int (optional)│ │ └── ttl_seconds →
int (optional)│ ├──
MessageMediaWebPage│ │ ├── force_large_media →
true (optional)│ │ ├── force_small_media →
true (optional)│ │ ├── manual →
true (optional)│ │ ├── safe →
true (optional)│ │ └── webpage →
WebPage│ │ ├──
WebPageEmpty│ │ │ ├── id →
long│ │ │ └── url →
string (optional)│ │ ├──
WebPagePending│ │ │ ├── id →
long│ │ │ ├── url →
string (optional)│ │ │ └── date →
int│ │ ├──
WebPage│ │ │ ├── has_large_media →
true (optional)│ │ │ ├── video_cover_photo →
true (optional)│ │ │ ├── id →
long│ │ │ ├── url →
string│ │ │ ├── display_url →
string│ │ │ ├── hash →
int│ │ │ ├── type →
string (optional)│ │ │ ├── site_name →
string (optional)│ │ │ ├── title →
string (optional)│ │ │ ├── description →
string (optional)│ │ │ ├── photo →
Photo (optional)│ │ │ │ ├──
PhotoEmpty│ │ │ │ └──
Photo│ │ │ ├── embed_url →
string (optional)│ │ │ ├── embed_type →
string (optional)│ │ │ ├── embed_width →
int (optional)│ │ │ ├── embed_height →
int (optional)│ │ │ ├── duration →
int (optional)│ │ │ ├── author →
string (optional)│ │ │ ├── document →
Document (optional)│ │ │ │ ├──
DocumentEmpty│ │ │ │ └──
Document│ │ │ ├── cached_page →
Page (optional)│ │ │ │ └──
Page│ │ │ └── attributes →
Vector < WebPageAttribute > (optional)│ │ │ ├──
WebPageAttributeTheme│ │ │ ├──
WebPageAttributeStory│ │ │ ├──
WebPageAttributeStickerSet│ │ │ ├──
WebPageAttributeUniqueStarGift│ │ │ ├──
WebPageAttributeStarGiftCollection│ │ │ └──
WebPageAttributeStarGiftAuction│ │ └──
WebPageNotModified│ │ └── cached_page_views →
int (optional)│ ├──
MessageMediaVenue│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ │ ├── long →
double│ │ │ ├── lat →
double│ │ │ ├── access_hash →
long│ │ │ └── accuracy_radius →
int (optional)│ │ ├── title →
string│ │ ├── address →
string│ │ ├── provider →
string│ │ ├── venue_id →
string│ │ └── venue_type →
string│ ├──
MessageMediaGame│ │ └── game →
Game│ │ └──
Game│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── short_name →
string│ │ ├── title →
string│ │ ├── description →
string│ │ ├── photo →
Photo│ │ │ ├──
PhotoEmpty│ │ │ └──
Photo│ │ └── document →
Document (optional)│ │ ├──
DocumentEmpty│ │ └──
Document│ ├──
MessageMediaInvoice│ │ ├── shipping_address_requested →
true (optional)│ │ ├── test →
true (optional)│ │ ├── title →
string│ │ ├── description →
string│ │ ├── photo →
WebDocument (optional)│ │ │ ├──
WebDocument│ │ │ │ ├── url →
string│ │ │ │ ├── access_hash →
long│ │ │ │ ├── size →
int│ │ │ │ ├── mime_type →
string│ │ │ │ └── attributes →
Vector < DocumentAttribute >│ │ │ │ ├──
DocumentAttributeImageSize│ │ │ │ ├──
DocumentAttributeAnimated│ │ │ │ ├──
DocumentAttributeSticker│ │ │ │ ├──
DocumentAttributeVideo│ │ │ │ ├──
DocumentAttributeAudio│ │ │ │ ├──
DocumentAttributeFilename│ │ │ │ ├──
DocumentAttributeHasStickers│ │ │ │ └──
DocumentAttributeCustomEmoji│ │ │ └──
WebDocumentNoProxy│ │ │ ├── url →
string│ │ │ ├── size →
int│ │ │ ├── mime_type →
string│ │ │ └── attributes →
Vector < DocumentAttribute >│ │ │ ├──
DocumentAttributeImageSize│ │ │ ├──
DocumentAttributeAnimated│ │ │ ├──
DocumentAttributeSticker│ │ │ ├──
DocumentAttributeVideo│ │ │ ├──
DocumentAttributeAudio│ │ │ ├──
DocumentAttributeFilename│ │ │ ├──
DocumentAttributeHasStickers│ │ │ └──
DocumentAttributeCustomEmoji│ │ ├── receipt_msg_id →
int (optional)│ │ ├── currency →
string│ │ ├── total_amount →
long│ │ ├── start_param →
string│ │ └── extended_media →
MessageExtendedMedia (optional)│ │ ├──
MessageExtendedMediaPreview│ │ │ ├── w →
int (optional)│ │ │ ├── h →
int (optional)│ │ │ ├── thumb →
PhotoSize (optional)│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ └── video_duration →
int (optional)│ │ └──
MessageExtendedMedia│ │ └── media →
MessageMedia│ │ ├──
MessageMediaEmpty│ │ ├──
MessageMediaPhoto│ │ ├──
MessageMediaGeo│ │ ├──
MessageMediaContact│ │ ├──
MessageMediaUnsupported│ │ ├──
MessageMediaDocument│ │ ├──
MessageMediaWebPage│ │ ├──
MessageMediaVenue│ │ ├──
MessageMediaGame│ │ ├──
MessageMediaInvoice│ │ ├──
MessageMediaGeoLive│ │ ├──
MessageMediaPoll│ │ ├──
MessageMediaDice│ │ ├──
MessageMediaStory│ │ ├──
MessageMediaGiveaway│ │ ├──
MessageMediaGiveawayResults│ │ ├──
MessageMediaPaidMedia│ │ ├──
MessageMediaToDo│ │ └──
MessageMediaVideoStream│ ├──
MessageMediaGeoLive│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ │ ├── long →
double│ │ │ ├── lat →
double│ │ │ ├── access_hash →
long│ │ │ └── accuracy_radius →
int (optional)│ │ ├── heading →
int (optional)│ │ ├── period →
int│ │ └── proximity_notification_radius →
int (optional)│ ├──
MessageMediaPoll│ │ ├── poll →
Poll│ │ │ └──
Poll│ │ │ ├── id →
long│ │ │ ├── closed →
true (optional)│ │ │ ├── public_voters →
true (optional)│ │ │ ├── multiple_choice →
true (optional)│ │ │ ├── quiz →
true (optional)│ │ │ ├── question →
TextWithEntities│ │ │ │ └──
TextWithEntities│ │ │ ├── answers →
Vector < PollAnswer >│ │ │ │ └──
PollAnswer│ │ │ ├── close_period →
int (optional)│ │ │ └── close_date →
int (optional)│ │ └── results →
PollResults│ │ └──
PollResults│ │ ├── min →
true (optional)│ │ ├── results →
Vector < PollAnswerVoters > (optional)│ │ │ └──
PollAnswerVoters│ │ ├── total_voters →
int (optional)│ │ ├── recent_voters →
Vector < Peer > (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── solution →
string (optional)│ │ └── solution_entities →
Vector < MessageEntity > (optional)│ │ ├──
MessageEntityUnknown│ │ ├──
MessageEntityMention│ │ ├──
MessageEntityHashtag│ │ ├──
MessageEntityBotCommand│ │ ├──
MessageEntityUrl│ │ ├──
MessageEntityEmail│ │ ├──
MessageEntityBold│ │ ├──
MessageEntityItalic│ │ ├──
MessageEntityCode│ │ ├──
MessageEntityPre│ │ ├──
MessageEntityTextUrl│ │ ├──
MessageEntityMentionName│ │ ├──
InputMessageEntityMentionName│ │ ├──
MessageEntityPhone│ │ ├──
MessageEntityCashtag│ │ ├──
MessageEntityUnderline│ │ ├──
MessageEntityStrike│ │ ├──
MessageEntityBankCard│ │ ├──
MessageEntitySpoiler│ │ ├──
MessageEntityCustomEmoji│ │ ├──
MessageEntityBlockquote│ │ └──
MessageEntityFormattedDate│ ├──
MessageMediaDice│ │ ├── value →
int│ │ ├── emoticon →
string│ │ └── game_outcome →
messages.EmojiGameOutcome (optional)│ │ └──
messages.EmojiGameOutcome│ │ ├── seed →
bytes│ │ ├── stake_ton_amount →
long│ │ └── ton_amount →
long│ ├──
MessageMediaStory│ │ ├── via_mention →
true (optional)│ │ ├── peer →
Peer│ │ │ ├──
PeerUser│ │ │ │ └── user_id →
long│ │ │ ├──
PeerChat│ │ │ │ └── chat_id →
long│ │ │ └──
PeerChannel│ │ │ └── channel_id →
long│ │ ├── id →
int│ │ └── story →
StoryItem (optional)│ │ ├──
StoryItemDeleted│ │ │ └── id →
int│ │ ├──
StoryItemSkipped│ │ │ ├── close_friends →
true (optional)│ │ │ ├── live →
true (optional)│ │ │ ├── id →
int│ │ │ ├── date →
int│ │ │ └── expire_date →
int│ │ └──
StoryItem│ │ ├── pinned →
true (optional)│ │ ├── public →
true (optional)│ │ ├── close_friends →
true (optional)│ │ ├── min →
true (optional)│ │ ├── noforwards →
true (optional)│ │ ├── edited →
true (optional)│ │ ├── contacts →
true (optional)│ │ ├── selected_contacts →
true (optional)│ │ ├── out →
true (optional)│ │ ├── id →
int│ │ ├── date →
int│ │ ├── from_id →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── fwd_from →
StoryFwdHeader (optional)│ │ │ └──
StoryFwdHeader│ │ ├── expire_date →
int│ │ ├── caption →
string (optional)│ │ ├── entities →
Vector < MessageEntity > (optional)│ │ │ ├──
MessageEntityUnknown│ │ │ ├──
MessageEntityMention│ │ │ ├──
MessageEntityHashtag│ │ │ ├──
MessageEntityBotCommand│ │ │ ├──
MessageEntityUrl│ │ │ ├──
MessageEntityEmail│ │ │ ├──
MessageEntityBold│ │ │ ├──
MessageEntityItalic│ │ │ ├──
MessageEntityCode│ │ │ ├──
MessageEntityPre│ │ │ ├──
MessageEntityTextUrl│ │ │ ├──
MessageEntityMentionName│ │ │ ├──
InputMessageEntityMentionName│ │ │ ├──
MessageEntityPhone│ │ │ ├──
MessageEntityCashtag│ │ │ ├──
MessageEntityUnderline│ │ │ ├──
MessageEntityStrike│ │ │ ├──
MessageEntityBankCard│ │ │ ├──
MessageEntitySpoiler│ │ │ ├──
MessageEntityCustomEmoji│ │ │ ├──
MessageEntityBlockquote│ │ │ └──
MessageEntityFormattedDate│ │ ├── media →
MessageMedia│ │ │ ├──
MessageMediaEmpty│ │ │ ├──
MessageMediaPhoto│ │ │ ├──
MessageMediaGeo│ │ │ ├──
MessageMediaContact│ │ │ ├──
MessageMediaUnsupported│ │ │ ├──
MessageMediaDocument│ │ │ ├──
MessageMediaWebPage│ │ │ ├──
MessageMediaVenue│ │ │ ├──
MessageMediaGame│ │ │ ├──
MessageMediaInvoice│ │ │ ├──
MessageMediaGeoLive│ │ │ ├──
MessageMediaPoll│ │ │ ├──
MessageMediaDice│ │ │ ├──
MessageMediaStory│ │ │ ├──
MessageMediaGiveaway│ │ │ ├──
MessageMediaGiveawayResults│ │ │ ├──
MessageMediaPaidMedia│ │ │ ├──
MessageMediaToDo│ │ │ └──
MessageMediaVideoStream│ │ ├── media_areas →
Vector < MediaArea > (optional)│ │ │ ├──
MediaAreaVenue│ │ │ ├──
InputMediaAreaVenue│ │ │ ├──
MediaAreaGeoPoint│ │ │ ├──
MediaAreaSuggestedReaction│ │ │ ├──
MediaAreaChannelPost│ │ │ ├──
InputMediaAreaChannelPost│ │ │ ├──
MediaAreaUrl│ │ │ ├──
MediaAreaWeather│ │ │ └──
MediaAreaStarGift│ │ ├── privacy →
Vector < PrivacyRule > (optional)│ │ │ ├──
PrivacyValueAllowContacts│ │ │ ├──
PrivacyValueAllowAll│ │ │ ├──
PrivacyValueAllowUsers│ │ │ ├──
PrivacyValueDisallowContacts│ │ │ ├──
PrivacyValueDisallowAll│ │ │ ├──
PrivacyValueDisallowUsers│ │ │ ├──
PrivacyValueAllowChatParticipants│ │ │ ├──
PrivacyValueDisallowChatParticipants│ │ │ ├──
PrivacyValueAllowCloseFriends│ │ │ ├──
PrivacyValueAllowPremium│ │ │ ├──
PrivacyValueAllowBots│ │ │ └──
PrivacyValueDisallowBots│ │ ├── views →
StoryViews (optional)│ │ │ └──
StoryViews│ │ ├── sent_reaction →
Reaction (optional)│ │ │ ├──
ReactionEmpty│ │ │ ├──
ReactionEmoji│ │ │ ├──
ReactionCustomEmoji│ │ │ └──
ReactionPaid│ │ └── albums →
Vector < int > (optional)│ ├──
MessageMediaGiveaway│ │ ├── only_new_subscribers →
true (optional)│ │ ├── winners_are_visible →
true (optional)│ │ ├── channels →
Vector < long >│ │ ├── countries_iso2 →
Vector < string > (optional)│ │ ├── prize_description →
string (optional)│ │ ├── quantity →
int│ │ ├── months →
int (optional)│ │ ├── stars →
long (optional)│ │ └── until_date →
int│ │ ├── only_new_subscribers →
true (optional)│ │ ├── refunded →
true (optional)│ │ ├── channel_id →
long│ │ ├── additional_peers_count →
int (optional)│ │ ├── launch_msg_id →
int│ │ ├── winners_count →
int│ │ ├── unclaimed_count →
int│ │ ├── winners →
Vector < long >│ │ ├── months →
int (optional)│ │ ├── stars →
long (optional)│ │ ├── prize_description →
string (optional)│ │ └── until_date →
int│ ├──
MessageMediaPaidMedia│ │ ├── stars_amount →
long│ │ └── extended_media →
Vector < MessageExtendedMedia >│ │ ├──
MessageExtendedMediaPreview│ │ │ ├── w →
int (optional)│ │ │ ├── h →
int (optional)│ │ │ ├── thumb →
PhotoSize (optional)│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ └── video_duration →
int (optional)│ │ └──
MessageExtendedMedia│ │ └── media →
MessageMedia│ │ ├──
MessageMediaEmpty│ │ ├──
MessageMediaPhoto│ │ ├──
MessageMediaGeo│ │ ├──
MessageMediaContact│ │ ├──
MessageMediaUnsupported│ │ ├──
MessageMediaDocument│ │ ├──
MessageMediaWebPage│ │ ├──
MessageMediaVenue│ │ ├──
MessageMediaGame│ │ ├──
MessageMediaInvoice│ │ ├──
MessageMediaGeoLive│ │ ├──
MessageMediaPoll│ │ ├──
MessageMediaDice│ │ ├──
MessageMediaStory│ │ ├──
MessageMediaGiveaway│ │ ├──
MessageMediaGiveawayResults│ │ ├──
MessageMediaPaidMedia│ │ ├──
MessageMediaToDo│ │ └──
MessageMediaVideoStream│ ├──
MessageMediaToDo│ │ ├── todo →
TodoList│ │ │ └──
TodoList│ │ │ ├── others_can_append →
true (optional)│ │ │ ├── others_can_complete →
true (optional)│ │ │ ├── title →
TextWithEntities│ │ │ │ └──
TextWithEntities│ │ │ └── list →
Vector < TodoItem >│ │ │ └──
TodoItem│ │ └── completions →
Vector < TodoCompletion > (optional)│ │ └──
TodoCompletion│ │ ├── id →
int│ │ ├── completed_by →
Peer│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ └── date →
int│ └──
MessageMediaVideoStream│ ├── rtmp_stream →
true (optional)│ └── call →
InputGroupCall│ ├──
InputGroupCall│ │ ├── id →
long│ │ └── access_hash →
long│ ├──
InputGroupCallSlug│ │ └── slug →
string│ └── msg_id →
int├── reply_markup →
ReplyMarkup (optional)│ ├──
ReplyKeyboardHide│ │ └── selective →
true (optional)│ ├──
ReplyKeyboardForceReply│ │ ├── single_use →
true (optional)│ │ ├── selective →
true (optional)│ │ └── placeholder →
string (optional)│ ├──
ReplyKeyboardMarkup│ │ ├── resize →
true (optional)│ │ ├── single_use →
true (optional)│ │ ├── selective →
true (optional)│ │ ├── persistent →
true (optional)│ │ ├── rows →
Vector < KeyboardButtonRow >│ │ │ └──
KeyboardButtonRow│ │ │ └── buttons →
Vector < KeyboardButton >│ │ │ ├──
KeyboardButton│ │ │ ├──
KeyboardButtonUrl│ │ │ ├──
KeyboardButtonCallback│ │ │ ├──
KeyboardButtonRequestPhone│ │ │ ├──
KeyboardButtonRequestGeoLocation│ │ │ ├──
KeyboardButtonSwitchInline│ │ │ ├──
KeyboardButtonGame│ │ │ ├──
KeyboardButtonBuy│ │ │ ├──
KeyboardButtonUrlAuth│ │ │ ├──
InputKeyboardButtonUrlAuth│ │ │ ├──
KeyboardButtonRequestPoll│ │ │ ├──
InputKeyboardButtonUserProfile│ │ │ ├──
KeyboardButtonUserProfile│ │ │ ├──
KeyboardButtonWebView│ │ │ ├──
KeyboardButtonSimpleWebView│ │ │ ├──
KeyboardButtonRequestPeer│ │ │ ├──
InputKeyboardButtonRequestPeer│ │ │ └──
KeyboardButtonCopy│ │ └── placeholder →
string (optional)│ └──
ReplyInlineMarkup│ └── rows →
Vector < KeyboardButtonRow >│ └──
KeyboardButtonRow│ └── buttons →
Vector < KeyboardButton >│ ├──
KeyboardButton│ ├──
KeyboardButtonUrl│ ├──
KeyboardButtonCallback│ ├──
KeyboardButtonGame│ ├──
KeyboardButtonBuy│ ├──
KeyboardButtonUrlAuth│ ├──
KeyboardButtonWebView│ └──
KeyboardButtonCopy├── entities →
Vector < MessageEntity > (optional)│ ├──
MessageEntityUnknown│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityMention│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityHashtag│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityBotCommand│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityUrl│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityEmail│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityBold│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityItalic│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityCode│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityPre│ │ ├── offset →
int│ │ ├── length →
int│ │ └── language →
string│ ├──
MessageEntityTextUrl│ │ ├── offset →
int│ │ ├── length →
int│ │ └── url →
string│ ├──
MessageEntityMentionName│ │ ├── offset →
int│ │ ├── length →
int│ │ └── user_id →
long│ │ ├── offset →
int│ │ ├── length →
int│ │ └── user_id →
InputUser│ │ ├──
InputUserEmpty│ │ ├──
InputUserSelf│ │ ├──
InputUser│ │ └──
InputUserFromMessage│ ├──
MessageEntityPhone│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityCashtag│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityUnderline│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityStrike│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityBankCard│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntitySpoiler│ │ ├── offset →
int│ │ └── length →
int│ ├──
MessageEntityCustomEmoji│ │ ├── offset →
int│ │ ├── length →
int│ │ └── document_id →
long│ ├──
MessageEntityBlockquote│ │ ├── collapsed →
true (optional)│ │ ├── offset →
int│ │ └── length →
int│ ├── relative →
true (optional)│ ├── short_time →
true (optional)│ ├── long_time →
true (optional)│ ├── short_date →
true (optional)│ ├── long_date →
true (optional)│ ├── day_of_week →
true (optional)│ ├── offset →
int│ ├── length →
int│ └── date →
int├── views →
int (optional)├── forwards →
int (optional)├── replies →
MessageReplies (optional)│ └──
MessageReplies│ ├── comments →
true (optional)│ ├── replies →
int│ ├── replies_pts →
int│ ├── recent_repliers →
Vector < Peer > (optional)│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── channel_id →
long (optional)│ ├── max_id →
int (optional)│ └── read_max_id →
int (optional)├── edit_date →
int (optional)├── post_author →
string (optional)├── grouped_id →
long (optional)├── reactions →
MessageReactions (optional)│ └──
MessageReactions│ ├── min →
true (optional)│ ├── can_see_list →
true (optional)│ ├── reactions_as_tags →
true (optional)│ ├── results →
Vector < ReactionCount >│ │ └──
ReactionCount│ │ ├── chosen_order →
int (optional)│ │ ├── reaction →
Reaction│ │ │ ├──
ReactionEmpty│ │ │ ├──
ReactionEmoji│ │ │ ├──
ReactionCustomEmoji│ │ │ └──
ReactionPaid│ │ └── count →
int│ ├── recent_reactions →
Vector < MessagePeerReaction > (optional)│ │ └──
MessagePeerReaction│ │ ├── big →
true (optional)│ │ ├── unread →
true (optional)│ │ ├── my →
true (optional)│ │ ├── peer_id →
Peer│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── date →
int│ │ └── reaction →
Reaction│ │ ├──
ReactionEmpty│ │ ├──
ReactionEmoji│ │ ├──
ReactionCustomEmoji│ │ └──
ReactionPaid│ └── top_reactors →
Vector < MessageReactor > (optional)│ └──
MessageReactor│ ├── top →
true (optional)│ ├── my →
true (optional)│ ├── anonymous →
true (optional)│ ├── peer_id →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ └── count →
int├── restriction_reason →
Vector < RestrictionReason > (optional)│ └──
RestrictionReason│ ├── platform →
string│ ├── reason →
string│ └── text →
string├── ttl_period →
int (optional)├── quick_reply_shortcut_id →
int (optional)├── effect →
long (optional)├── factcheck →
FactCheck (optional)│ └──
FactCheck│ ├── need_check →
true (optional)│ ├── country →
string (optional)│ ├── text →
TextWithEntities (optional)│ │ └──
TextWithEntities│ │ ├── text →
string│ │ └── entities →
Vector < MessageEntity >│ │ ├──
MessageEntityUnknown│ │ ├──
MessageEntityMention│ │ ├──
MessageEntityHashtag│ │ ├──
MessageEntityBotCommand│ │ ├──
MessageEntityUrl│ │ ├──
MessageEntityEmail│ │ ├──
MessageEntityBold│ │ ├──
MessageEntityItalic│ │ ├──
MessageEntityCode│ │ ├──
MessageEntityPre│ │ ├──
MessageEntityTextUrl│ │ ├──
MessageEntityMentionName│ │ ├──
InputMessageEntityMentionName│ │ ├──
MessageEntityPhone│ │ ├──
MessageEntityCashtag│ │ ├──
MessageEntityUnderline│ │ ├──
MessageEntityStrike│ │ ├──
MessageEntityBankCard│ │ ├──
MessageEntitySpoiler│ │ ├──
MessageEntityCustomEmoji│ │ ├──
MessageEntityBlockquote│ │ └──
MessageEntityFormattedDate│ └── hash →
long├── report_delivery_until_date →
int (optional)├── paid_message_stars →
long (optional)├── suggested_post →
SuggestedPost (optional)│ └──
SuggestedPost│ ├── accepted →
true (optional)│ ├── rejected →
true (optional)│ ├── price →
StarsAmount (optional)│ │ ├──
StarsAmount│ │ │ ├── amount →
long│ │ │ └── nanos →
int│ │ └──
StarsTonAmount│ │ └── amount →
long│ └── schedule_date →
int (optional)├── schedule_repeat_period →
int (optional)└── summary_from_language →
string (optional)Example
Message(
out=None,
mentioned=None,
media_unread=None,
silent=None,
post=None,
from_scheduled=None,
legacy=None,
edit_hide=None,
pinned=None,
noforwards=None,
invert_media=None,
offline=None,
video_processing_pending=None,
paid_suggested_post_stars=None,
paid_suggested_post_ton=None,
id=0,
from_id=PeerUser(user_id=0),
from_boosts_applied=0,
from_rank="text",
peer_id=PeerUser(user_id=0),
saved_peer_id=PeerUser(user_id=0),
fwd_from=MessageFwdHeader(
imported=None,
saved_out=None,
from_id=None,
from_name=None,
date=0,
channel_post=None,
post_author=None,
saved_from_peer=None,
saved_from_msg_id=None,
saved_from_id=None,
saved_from_name=None,
saved_date=None,
psa_type=None
),
via_bot_id=0,
via_business_bot_id=0,
reply_to=MessageReplyHeader(
reply_to_scheduled=None,
forum_topic=None,
quote=None,
reply_to_msg_id=None,
reply_to_peer_id=None,
reply_from=None,
reply_media=None,
reply_to_top_id=None,
quote_text=None,
quote_entities=None,
quote_offset=None,
todo_item_id=None
),
date=0,
message="Hello",
media=MessageMediaEmpty(),
reply_markup=ReplyInlineMarkup(rows=[
KeyboardButtonRow(buttons=[
KeyboardButtonUrl(
style=None,
text="Open",
url="https://google.com"
)
])
]),
entities=[
MessageEntityUnknown(
offset=0,
length=0
)
],
views=0,
forwards=0,
replies=MessageReplies(
comments=None,
replies=0,
replies_pts=0,
recent_repliers=None,
channel_id=None,
max_id=None,
read_max_id=None
),
edit_date=0,
post_author="text",
grouped_id=0,
reactions=MessageReactions(
min=None,
can_see_list=None,
reactions_as_tags=None,
results=[
ReactionCount(
chosen_order=None,
reaction=ReactionEmpty(),
count=0
)
],
recent_reactions=None,
top_reactors=None
),
restriction_reason=[
RestrictionReason(
platform="text",
reason="text",
text="Open"
)
],
ttl_period=0,
quick_reply_shortcut_id=0,
effect=0,
factcheck=FactCheck(
need_check=None,
country=None,
text=TextWithEntities(
text="Open",
entities=[
MessageEntityUnknown(
offset=0,
length=0
)
]
),
hash=0
),
report_delivery_until_date=0,
paid_message_stars=0,
suggested_post=SuggestedPost(
accepted=None,
rejected=None,
price=None,
schedule_date=None
),
schedule_repeat_period=0,
summary_from_language="text",
)