Message

class pyrogram.raw.base.Message

Object describing a message.

Constructors:

This base type has 3 constructors available.

Message

A message

MessageEmpty

Empty constructor, non-existent message.

MessageService

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
├── outtrue (optional)
├── mentionedtrue (optional)
├── media_unreadtrue (optional)
├── silenttrue (optional)
├── posttrue (optional)
├── from_scheduledtrue (optional)
├── legacytrue (optional)
├── edit_hidetrue (optional)
├── pinnedtrue (optional)
├── noforwardstrue (optional)
├── invert_mediatrue (optional)
├── offlinetrue (optional)
├── video_processing_pendingtrue (optional)
├── paid_suggested_post_starstrue (optional)
├── paid_suggested_post_tontrue (optional)
├── idint
├── from_idPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── from_boosts_appliedint (optional)
├── from_rankstring (optional)
├── peer_idPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── saved_peer_idPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── fwd_fromMessageFwdHeader (optional)
│ └── MessageFwdHeader
│ ├── importedtrue (optional)
│ ├── saved_outtrue (optional)
│ ├── from_idPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── from_namestring (optional)
│ ├── dateint
│ ├── channel_postint (optional)
│ ├── post_authorstring (optional)
│ ├── saved_from_peerPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── saved_from_msg_idint (optional)
│ ├── saved_from_idPeer (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── saved_from_namestring (optional)
│ ├── saved_dateint (optional)
│ └── psa_typestring (optional)
├── via_bot_idlong (optional)
├── via_business_bot_idlong (optional)
├── reply_toMessageReplyHeader (optional)
│ ├── MessageReplyHeader
│ │ ├── reply_to_scheduledtrue (optional)
│ │ ├── forum_topictrue (optional)
│ │ ├── quotetrue (optional)
│ │ ├── reply_to_msg_idint (optional)
│ │ ├── reply_to_peer_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── reply_fromMessageFwdHeader (optional)
│ │ │ └── MessageFwdHeader
│ │ │ ├── importedtrue (optional)
│ │ │ ├── saved_outtrue (optional)
│ │ │ ├── from_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── from_namestring (optional)
│ │ │ ├── dateint
│ │ │ ├── channel_postint (optional)
│ │ │ ├── post_authorstring (optional)
│ │ │ ├── saved_from_peerPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_from_msg_idint (optional)
│ │ │ ├── saved_from_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── saved_from_namestring (optional)
│ │ │ ├── saved_dateint (optional)
│ │ │ └── psa_typestring (optional)
│ │ ├── reply_mediaMessageMedia (optional)
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ │ ├── spoilertrue (optional)
│ │ │ │ ├── photoPhoto (optional)
│ │ │ │ │ ├── PhotoEmpty
│ │ │ │ │ └── Photo
│ │ │ │ └── ttl_secondsint (optional)
│ │ │ ├── MessageMediaGeo
│ │ │ │ └── geoGeoPoint
│ │ │ │ ├── GeoPointEmpty
│ │ │ │ └── GeoPoint
│ │ │ ├── MessageMediaContact
│ │ │ │ ├── phone_numberstring
│ │ │ │ ├── first_namestring
│ │ │ │ ├── last_namestring
│ │ │ │ ├── vcardstring
│ │ │ │ └── user_idlong
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ │ ├── nopremiumtrue (optional)
│ │ │ │ ├── spoilertrue (optional)
│ │ │ │ ├── videotrue (optional)
│ │ │ │ ├── roundtrue (optional)
│ │ │ │ ├── voicetrue (optional)
│ │ │ │ ├── documentDocument (optional)
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── alt_documentsVector < Document > (optional)
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── video_coverPhoto (optional)
│ │ │ │ │ ├── PhotoEmpty
│ │ │ │ │ └── Photo
│ │ │ │ ├── video_timestampint (optional)
│ │ │ │ └── ttl_secondsint (optional)
│ │ │ ├── MessageMediaWebPage
│ │ │ │ ├── force_large_mediatrue (optional)
│ │ │ │ ├── force_small_mediatrue (optional)
│ │ │ │ ├── manualtrue (optional)
│ │ │ │ ├── safetrue (optional)
│ │ │ │ └── webpageWebPage
│ │ │ │ ├── WebPageEmpty
│ │ │ │ ├── WebPagePending
│ │ │ │ ├── WebPage
│ │ │ │ └── WebPageNotModified
│ │ │ ├── MessageMediaVenue
│ │ │ │ ├── geoGeoPoint
│ │ │ │ │ ├── GeoPointEmpty
│ │ │ │ │ └── GeoPoint
│ │ │ │ ├── titlestring
│ │ │ │ ├── addressstring
│ │ │ │ ├── providerstring
│ │ │ │ ├── venue_idstring
│ │ │ │ └── venue_typestring
│ │ │ ├── MessageMediaGame
│ │ │ │ └── gameGame
│ │ │ │ └── Game
│ │ │ ├── MessageMediaInvoice
│ │ │ │ ├── shipping_address_requestedtrue (optional)
│ │ │ │ ├── testtrue (optional)
│ │ │ │ ├── titlestring
│ │ │ │ ├── descriptionstring
│ │ │ │ ├── photoWebDocument (optional)
│ │ │ │ │ ├── WebDocument
│ │ │ │ │ └── WebDocumentNoProxy
│ │ │ │ ├── receipt_msg_idint (optional)
│ │ │ │ ├── currencystring
│ │ │ │ ├── total_amountlong
│ │ │ │ ├── start_paramstring
│ │ │ │ └── extended_mediaMessageExtendedMedia (optional)
│ │ │ │ ├── MessageExtendedMediaPreview
│ │ │ │ └── MessageExtendedMedia
│ │ │ ├── MessageMediaGeoLive
│ │ │ │ ├── geoGeoPoint
│ │ │ │ │ ├── GeoPointEmpty
│ │ │ │ │ └── GeoPoint
│ │ │ │ ├── headingint (optional)
│ │ │ │ ├── periodint
│ │ │ │ └── proximity_notification_radiusint (optional)
│ │ │ ├── MessageMediaPoll
│ │ │ │ ├── pollPoll
│ │ │ │ │ └── Poll
│ │ │ │ └── resultsPollResults
│ │ │ │ └── PollResults
│ │ │ ├── MessageMediaDice
│ │ │ │ ├── valueint
│ │ │ │ ├── emoticonstring
│ │ │ │ └── game_outcomemessages.EmojiGameOutcome (optional)
│ │ │ │ └── messages.EmojiGameOutcome
│ │ │ ├── MessageMediaStory
│ │ │ │ ├── via_mentiontrue (optional)
│ │ │ │ ├── peerPeer
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── idint
│ │ │ │ └── storyStoryItem (optional)
│ │ │ │ ├── StoryItemDeleted
│ │ │ │ ├── StoryItemSkipped
│ │ │ │ └── StoryItem
│ │ │ ├── MessageMediaGiveaway
│ │ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ │ ├── winners_are_visibletrue (optional)
│ │ │ │ ├── channelsVector < long >
│ │ │ │ ├── countries_iso2Vector < string > (optional)
│ │ │ │ ├── prize_descriptionstring (optional)
│ │ │ │ ├── quantityint
│ │ │ │ ├── monthsint (optional)
│ │ │ │ ├── starslong (optional)
│ │ │ │ └── until_dateint
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ │ ├── only_new_subscriberstrue (optional)
│ │ │ │ ├── refundedtrue (optional)
│ │ │ │ ├── channel_idlong
│ │ │ │ ├── additional_peers_countint (optional)
│ │ │ │ ├── launch_msg_idint
│ │ │ │ ├── winners_countint
│ │ │ │ ├── unclaimed_countint
│ │ │ │ ├── winnersVector < long >
│ │ │ │ ├── monthsint (optional)
│ │ │ │ ├── starslong (optional)
│ │ │ │ ├── prize_descriptionstring (optional)
│ │ │ │ └── until_dateint
│ │ │ ├── MessageMediaPaidMedia
│ │ │ │ ├── stars_amountlong
│ │ │ │ └── extended_mediaVector < MessageExtendedMedia >
│ │ │ │ ├── MessageExtendedMediaPreview
│ │ │ │ └── MessageExtendedMedia
│ │ │ ├── MessageMediaToDo
│ │ │ │ ├── todoTodoList
│ │ │ │ │ └── TodoList
│ │ │ │ └── completionsVector < TodoCompletion > (optional)
│ │ │ │ └── TodoCompletion
│ │ │ └── MessageMediaVideoStream
│ │ │ ├── rtmp_streamtrue (optional)
│ │ │ └── callInputGroupCall
│ │ │ ├── InputGroupCall
│ │ │ ├── InputGroupCallSlug
│ │ │ └── InputGroupCallInviteMessage
│ │ ├── reply_to_top_idint (optional)
│ │ ├── quote_textstring (optional)
│ │ ├── quote_entitiesVector < MessageEntity > (optional)
│ │ │ ├── MessageEntityUnknown
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityMention
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityHashtag
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityBotCommand
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityUrl
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityEmail
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityBold
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityItalic
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityCode
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityPre
│ │ │ │ ├── offsetint
│ │ │ │ ├── lengthint
│ │ │ │ └── languagestring
│ │ │ ├── MessageEntityTextUrl
│ │ │ │ ├── offsetint
│ │ │ │ ├── lengthint
│ │ │ │ └── urlstring
│ │ │ ├── MessageEntityMentionName
│ │ │ │ ├── offsetint
│ │ │ │ ├── lengthint
│ │ │ │ └── user_idlong
│ │ │ ├── InputMessageEntityMentionName
│ │ │ │ ├── offsetint
│ │ │ │ ├── lengthint
│ │ │ │ └── user_idInputUser
│ │ │ │ ├── InputUserEmpty
│ │ │ │ ├── InputUserSelf
│ │ │ │ ├── InputUser
│ │ │ │ └── InputUserFromMessage
│ │ │ ├── MessageEntityPhone
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityCashtag
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityUnderline
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityStrike
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityBankCard
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntitySpoiler
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ │ ├── offsetint
│ │ │ │ ├── lengthint
│ │ │ │ └── document_idlong
│ │ │ ├── MessageEntityBlockquote
│ │ │ │ ├── collapsedtrue (optional)
│ │ │ │ ├── offsetint
│ │ │ │ └── lengthint
│ │ │ └── MessageEntityFormattedDate
│ │ │ ├── relativetrue (optional)
│ │ │ ├── short_timetrue (optional)
│ │ │ ├── long_timetrue (optional)
│ │ │ ├── short_datetrue (optional)
│ │ │ ├── long_datetrue (optional)
│ │ │ ├── day_of_weektrue (optional)
│ │ │ ├── offsetint
│ │ │ ├── lengthint
│ │ │ └── dateint
│ │ ├── quote_offsetint (optional)
│ │ └── todo_item_idint (optional)
│ ├── peerPeer
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ └── story_idint
├── dateint
├── messagestring
├── mediaMessageMedia (optional)
│ ├── MessageMediaEmpty
│ ├── MessageMediaPhoto
│ │ ├── spoilertrue (optional)
│ │ ├── photoPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ │ └── idlong
│ │ │ └── Photo
│ │ │ ├── has_stickerstrue (optional)
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── sizesVector < PhotoSize >
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_sizesVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ └── dc_idint
│ │ └── ttl_secondsint (optional)
│ ├── MessageMediaGeo
│ │ └── geoGeoPoint
│ │ ├── GeoPointEmpty
│ │ └── GeoPoint
│ │ ├── longdouble
│ │ ├── latdouble
│ │ ├── access_hashlong
│ │ └── accuracy_radiusint (optional)
│ ├── MessageMediaContact
│ │ ├── phone_numberstring
│ │ ├── first_namestring
│ │ ├── last_namestring
│ │ ├── vcardstring
│ │ └── user_idlong
│ ├── MessageMediaDocument
│ │ ├── nopremiumtrue (optional)
│ │ ├── spoilertrue (optional)
│ │ ├── videotrue (optional)
│ │ ├── roundtrue (optional)
│ │ ├── voicetrue (optional)
│ │ ├── documentDocument (optional)
│ │ │ ├── DocumentEmpty
│ │ │ │ └── idlong
│ │ │ └── Document
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── mime_typestring
│ │ │ ├── sizelong
│ │ │ ├── thumbsVector < PhotoSize > (optional)
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ ├── dc_idint
│ │ │ └── attributesVector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── alt_documentsVector < Document > (optional)
│ │ │ ├── DocumentEmpty
│ │ │ │ └── idlong
│ │ │ └── Document
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── mime_typestring
│ │ │ ├── sizelong
│ │ │ ├── thumbsVector < PhotoSize > (optional)
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ ├── dc_idint
│ │ │ └── attributesVector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── video_coverPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ │ └── idlong
│ │ │ └── Photo
│ │ │ ├── has_stickerstrue (optional)
│ │ │ ├── idlong
│ │ │ ├── access_hashlong
│ │ │ ├── file_referencebytes
│ │ │ ├── dateint
│ │ │ ├── sizesVector < PhotoSize >
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_sizesVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ └── dc_idint
│ │ ├── video_timestampint (optional)
│ │ └── ttl_secondsint (optional)
│ ├── MessageMediaWebPage
│ │ ├── force_large_mediatrue (optional)
│ │ ├── force_small_mediatrue (optional)
│ │ ├── manualtrue (optional)
│ │ ├── safetrue (optional)
│ │ └── webpageWebPage
│ │ ├── WebPageEmpty
│ │ │ ├── idlong
│ │ │ └── urlstring (optional)
│ │ ├── WebPagePending
│ │ │ ├── idlong
│ │ │ ├── urlstring (optional)
│ │ │ └── dateint
│ │ ├── WebPage
│ │ │ ├── has_large_mediatrue (optional)
│ │ │ ├── video_cover_phototrue (optional)
│ │ │ ├── idlong
│ │ │ ├── urlstring
│ │ │ ├── display_urlstring
│ │ │ ├── hashint
│ │ │ ├── typestring (optional)
│ │ │ ├── site_namestring (optional)
│ │ │ ├── titlestring (optional)
│ │ │ ├── descriptionstring (optional)
│ │ │ ├── photoPhoto (optional)
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── embed_urlstring (optional)
│ │ │ ├── embed_typestring (optional)
│ │ │ ├── embed_widthint (optional)
│ │ │ ├── embed_heightint (optional)
│ │ │ ├── durationint (optional)
│ │ │ ├── authorstring (optional)
│ │ │ ├── documentDocument (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ ├── cached_pagePage (optional)
│ │ │ │ └── Page
│ │ │ └── attributesVector < WebPageAttribute > (optional)
│ │ │ ├── WebPageAttributeTheme
│ │ │ ├── WebPageAttributeStory
│ │ │ ├── WebPageAttributeStickerSet
│ │ │ ├── WebPageAttributeUniqueStarGift
│ │ │ └── WebPageAttributeStarGiftAuction
│ │ └── WebPageNotModified
│ │ └── cached_page_viewsint (optional)
│ ├── MessageMediaVenue
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ │ ├── longdouble
│ │ │ ├── latdouble
│ │ │ ├── access_hashlong
│ │ │ └── accuracy_radiusint (optional)
│ │ ├── titlestring
│ │ ├── addressstring
│ │ ├── providerstring
│ │ ├── venue_idstring
│ │ └── venue_typestring
│ ├── MessageMediaGame
│ │ └── gameGame
│ │ └── Game
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── short_namestring
│ │ ├── titlestring
│ │ ├── descriptionstring
│ │ ├── photoPhoto
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ └── documentDocument (optional)
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── MessageMediaInvoice
│ │ ├── shipping_address_requestedtrue (optional)
│ │ ├── testtrue (optional)
│ │ ├── titlestring
│ │ ├── descriptionstring
│ │ ├── photoWebDocument (optional)
│ │ │ ├── WebDocument
│ │ │ │ ├── urlstring
│ │ │ │ ├── access_hashlong
│ │ │ │ ├── sizeint
│ │ │ │ ├── mime_typestring
│ │ │ │ └── attributesVector < DocumentAttribute >
│ │ │ │ ├── DocumentAttributeImageSize
│ │ │ │ ├── DocumentAttributeAnimated
│ │ │ │ ├── DocumentAttributeSticker
│ │ │ │ ├── DocumentAttributeVideo
│ │ │ │ ├── DocumentAttributeAudio
│ │ │ │ ├── DocumentAttributeFilename
│ │ │ │ ├── DocumentAttributeHasStickers
│ │ │ │ └── DocumentAttributeCustomEmoji
│ │ │ └── WebDocumentNoProxy
│ │ │ ├── urlstring
│ │ │ ├── sizeint
│ │ │ ├── mime_typestring
│ │ │ └── attributesVector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── receipt_msg_idint (optional)
│ │ ├── currencystring
│ │ ├── total_amountlong
│ │ ├── start_paramstring
│ │ └── extended_mediaMessageExtendedMedia (optional)
│ │ ├── MessageExtendedMediaPreview
│ │ │ ├── wint (optional)
│ │ │ ├── hint (optional)
│ │ │ ├── thumbPhotoSize (optional)
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ └── video_durationint (optional)
│ │ └── MessageExtendedMedia
│ │ └── mediaMessageMedia
│ │ ├── MessageMediaEmpty
│ │ ├── MessageMediaPhoto
│ │ ├── MessageMediaGeo
│ │ ├── MessageMediaContact
│ │ ├── MessageMediaUnsupported
│ │ ├── MessageMediaDocument
│ │ ├── MessageMediaWebPage
│ │ ├── MessageMediaVenue
│ │ ├── MessageMediaGame
│ │ ├── MessageMediaInvoice
│ │ ├── MessageMediaGeoLive
│ │ ├── MessageMediaPoll
│ │ ├── MessageMediaDice
│ │ ├── MessageMediaStory
│ │ ├── MessageMediaGiveaway
│ │ ├── MessageMediaGiveawayResults
│ │ ├── MessageMediaPaidMedia
│ │ ├── MessageMediaToDo
│ │ └── MessageMediaVideoStream
│ ├── MessageMediaGeoLive
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ │ ├── longdouble
│ │ │ ├── latdouble
│ │ │ ├── access_hashlong
│ │ │ └── accuracy_radiusint (optional)
│ │ ├── headingint (optional)
│ │ ├── periodint
│ │ └── proximity_notification_radiusint (optional)
│ ├── MessageMediaPoll
│ │ ├── pollPoll
│ │ │ └── Poll
│ │ │ ├── idlong
│ │ │ ├── closedtrue (optional)
│ │ │ ├── public_voterstrue (optional)
│ │ │ ├── multiple_choicetrue (optional)
│ │ │ ├── quiztrue (optional)
│ │ │ ├── questionTextWithEntities
│ │ │ │ └── TextWithEntities
│ │ │ ├── answersVector < PollAnswer >
│ │ │ │ └── PollAnswer
│ │ │ ├── close_periodint (optional)
│ │ │ └── close_dateint (optional)
│ │ └── resultsPollResults
│ │ └── PollResults
│ │ ├── mintrue (optional)
│ │ ├── resultsVector < PollAnswerVoters > (optional)
│ │ │ └── PollAnswerVoters
│ │ ├── total_votersint (optional)
│ │ ├── recent_votersVector < Peer > (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── solutionstring (optional)
│ │ └── solution_entitiesVector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ └── MessageEntityFormattedDate
│ ├── MessageMediaDice
│ │ ├── valueint
│ │ ├── emoticonstring
│ │ └── game_outcomemessages.EmojiGameOutcome (optional)
│ │ └── messages.EmojiGameOutcome
│ │ ├── seedbytes
│ │ ├── stake_ton_amountlong
│ │ └── ton_amountlong
│ ├── MessageMediaStory
│ │ ├── via_mentiontrue (optional)
│ │ ├── peerPeer
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── idint
│ │ └── storyStoryItem (optional)
│ │ ├── StoryItemDeleted
│ │ │ └── idint
│ │ ├── StoryItemSkipped
│ │ │ ├── close_friendstrue (optional)
│ │ │ ├── livetrue (optional)
│ │ │ ├── idint
│ │ │ ├── dateint
│ │ │ └── expire_dateint
│ │ └── StoryItem
│ │ ├── pinnedtrue (optional)
│ │ ├── publictrue (optional)
│ │ ├── close_friendstrue (optional)
│ │ ├── mintrue (optional)
│ │ ├── noforwardstrue (optional)
│ │ ├── editedtrue (optional)
│ │ ├── contactstrue (optional)
│ │ ├── selected_contactstrue (optional)
│ │ ├── outtrue (optional)
│ │ ├── idint
│ │ ├── dateint
│ │ ├── from_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── fwd_fromStoryFwdHeader (optional)
│ │ │ └── StoryFwdHeader
│ │ ├── expire_dateint
│ │ ├── captionstring (optional)
│ │ ├── entitiesVector < MessageEntity > (optional)
│ │ │ ├── MessageEntityUnknown
│ │ │ ├── MessageEntityMention
│ │ │ ├── MessageEntityHashtag
│ │ │ ├── MessageEntityBotCommand
│ │ │ ├── MessageEntityUrl
│ │ │ ├── MessageEntityEmail
│ │ │ ├── MessageEntityBold
│ │ │ ├── MessageEntityItalic
│ │ │ ├── MessageEntityCode
│ │ │ ├── MessageEntityPre
│ │ │ ├── MessageEntityTextUrl
│ │ │ ├── MessageEntityMentionName
│ │ │ ├── InputMessageEntityMentionName
│ │ │ ├── MessageEntityPhone
│ │ │ ├── MessageEntityCashtag
│ │ │ ├── MessageEntityUnderline
│ │ │ ├── MessageEntityStrike
│ │ │ ├── MessageEntityBankCard
│ │ │ ├── MessageEntitySpoiler
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ ├── MessageEntityBlockquote
│ │ │ └── MessageEntityFormattedDate
│ │ ├── mediaMessageMedia
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ ├── MessageMediaGeo
│ │ │ ├── MessageMediaContact
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ ├── MessageMediaWebPage
│ │ │ ├── MessageMediaVenue
│ │ │ ├── MessageMediaGame
│ │ │ ├── MessageMediaInvoice
│ │ │ ├── MessageMediaGeoLive
│ │ │ ├── MessageMediaPoll
│ │ │ ├── MessageMediaDice
│ │ │ ├── MessageMediaStory
│ │ │ ├── MessageMediaGiveaway
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ ├── MessageMediaPaidMedia
│ │ │ ├── MessageMediaToDo
│ │ │ └── MessageMediaVideoStream
│ │ ├── media_areasVector < MediaArea > (optional)
│ │ │ ├── MediaAreaVenue
│ │ │ ├── InputMediaAreaVenue
│ │ │ ├── MediaAreaGeoPoint
│ │ │ ├── MediaAreaSuggestedReaction
│ │ │ ├── MediaAreaChannelPost
│ │ │ ├── InputMediaAreaChannelPost
│ │ │ ├── MediaAreaUrl
│ │ │ ├── MediaAreaWeather
│ │ │ └── MediaAreaStarGift
│ │ ├── privacyVector < PrivacyRule > (optional)
│ │ │ ├── PrivacyValueAllowContacts
│ │ │ ├── PrivacyValueAllowAll
│ │ │ ├── PrivacyValueAllowUsers
│ │ │ ├── PrivacyValueDisallowContacts
│ │ │ ├── PrivacyValueDisallowAll
│ │ │ ├── PrivacyValueDisallowUsers
│ │ │ ├── PrivacyValueAllowChatParticipants
│ │ │ ├── PrivacyValueAllowCloseFriends
│ │ │ ├── PrivacyValueAllowPremium
│ │ │ ├── PrivacyValueAllowBots
│ │ │ └── PrivacyValueDisallowBots
│ │ ├── viewsStoryViews (optional)
│ │ │ └── StoryViews
│ │ ├── sent_reactionReaction (optional)
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ └── albumsVector < int > (optional)
│ ├── MessageMediaGiveaway
│ │ ├── only_new_subscriberstrue (optional)
│ │ ├── winners_are_visibletrue (optional)
│ │ ├── channelsVector < long >
│ │ ├── countries_iso2Vector < string > (optional)
│ │ ├── prize_descriptionstring (optional)
│ │ ├── quantityint
│ │ ├── monthsint (optional)
│ │ ├── starslong (optional)
│ │ └── until_dateint
│ │ ├── only_new_subscriberstrue (optional)
│ │ ├── refundedtrue (optional)
│ │ ├── channel_idlong
│ │ ├── additional_peers_countint (optional)
│ │ ├── launch_msg_idint
│ │ ├── winners_countint
│ │ ├── unclaimed_countint
│ │ ├── winnersVector < long >
│ │ ├── monthsint (optional)
│ │ ├── starslong (optional)
│ │ ├── prize_descriptionstring (optional)
│ │ └── until_dateint
│ ├── MessageMediaPaidMedia
│ │ ├── stars_amountlong
│ │ └── extended_mediaVector < MessageExtendedMedia >
│ │ ├── MessageExtendedMediaPreview
│ │ │ ├── wint (optional)
│ │ │ ├── hint (optional)
│ │ │ ├── thumbPhotoSize (optional)
│ │ │ │ ├── PhotoSizeEmpty
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ └── video_durationint (optional)
│ │ └── MessageExtendedMedia
│ │ └── mediaMessageMedia
│ │ ├── MessageMediaEmpty
│ │ ├── MessageMediaPhoto
│ │ ├── MessageMediaGeo
│ │ ├── MessageMediaContact
│ │ ├── MessageMediaUnsupported
│ │ ├── MessageMediaDocument
│ │ ├── MessageMediaWebPage
│ │ ├── MessageMediaVenue
│ │ ├── MessageMediaGame
│ │ ├── MessageMediaInvoice
│ │ ├── MessageMediaGeoLive
│ │ ├── MessageMediaPoll
│ │ ├── MessageMediaDice
│ │ ├── MessageMediaStory
│ │ ├── MessageMediaGiveaway
│ │ ├── MessageMediaGiveawayResults
│ │ ├── MessageMediaPaidMedia
│ │ ├── MessageMediaToDo
│ │ └── MessageMediaVideoStream
│ ├── MessageMediaToDo
│ │ ├── todoTodoList
│ │ │ └── TodoList
│ │ │ ├── others_can_appendtrue (optional)
│ │ │ ├── others_can_completetrue (optional)
│ │ │ ├── titleTextWithEntities
│ │ │ │ └── TextWithEntities
│ │ │ └── listVector < TodoItem >
│ │ │ └── TodoItem
│ │ └── completionsVector < TodoCompletion > (optional)
│ │ └── TodoCompletion
│ │ ├── idint
│ │ ├── completed_byPeer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ └── dateint
│ ├── rtmp_streamtrue (optional)
│ └── callInputGroupCall
│ ├── InputGroupCall
│ │ ├── idlong
│ │ └── access_hashlong
│ ├── InputGroupCallSlug
│ │ └── slugstring
│ └── msg_idint
├── reply_markupReplyMarkup (optional)
│ ├── ReplyKeyboardHide
│ │ └── selectivetrue (optional)
│ │ ├── single_usetrue (optional)
│ │ ├── selectivetrue (optional)
│ │ └── placeholderstring (optional)
│ ├── ReplyKeyboardMarkup
│ │ ├── resizetrue (optional)
│ │ ├── single_usetrue (optional)
│ │ ├── selectivetrue (optional)
│ │ ├── persistenttrue (optional)
│ │ ├── rowsVector < KeyboardButtonRow >
│ │ │ └── KeyboardButtonRow
│ │ │ └── buttonsVector < KeyboardButton >
│ │ │ ├── KeyboardButton
│ │ │ ├── KeyboardButtonUrl
│ │ │ ├── KeyboardButtonCallback
│ │ │ ├── KeyboardButtonRequestPhone
│ │ │ ├── KeyboardButtonRequestGeoLocation
│ │ │ ├── KeyboardButtonSwitchInline
│ │ │ ├── KeyboardButtonGame
│ │ │ ├── KeyboardButtonBuy
│ │ │ ├── KeyboardButtonUrlAuth
│ │ │ ├── InputKeyboardButtonUrlAuth
│ │ │ ├── KeyboardButtonRequestPoll
│ │ │ ├── InputKeyboardButtonUserProfile
│ │ │ ├── KeyboardButtonUserProfile
│ │ │ ├── KeyboardButtonWebView
│ │ │ ├── KeyboardButtonSimpleWebView
│ │ │ ├── KeyboardButtonRequestPeer
│ │ │ ├── InputKeyboardButtonRequestPeer
│ │ │ └── KeyboardButtonCopy
│ │ └── placeholderstring (optional)
│ └── ReplyInlineMarkup
│ └── rowsVector < KeyboardButtonRow >
│ └── KeyboardButtonRow
│ └── buttonsVector < KeyboardButton >
│ ├── KeyboardButton
│ ├── KeyboardButtonUrl
│ ├── KeyboardButtonGame
│ ├── KeyboardButtonBuy
│ ├── KeyboardButtonUrlAuth
│ ├── KeyboardButtonWebView
│ └── KeyboardButtonCopy
├── entitiesVector < MessageEntity > (optional)
│ ├── MessageEntityUnknown
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityMention
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityHashtag
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityUrl
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityEmail
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityBold
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityItalic
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityCode
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityPre
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── languagestring
│ ├── MessageEntityTextUrl
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── urlstring
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── user_idlong
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── user_idInputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── MessageEntityPhone
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityCashtag
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityStrike
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityBankCard
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntitySpoiler
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── document_idlong
│ │ ├── collapsedtrue (optional)
│ │ ├── offsetint
│ │ └── lengthint
│ ├── relativetrue (optional)
│ ├── short_timetrue (optional)
│ ├── long_timetrue (optional)
│ ├── short_datetrue (optional)
│ ├── long_datetrue (optional)
│ ├── day_of_weektrue (optional)
│ ├── offsetint
│ ├── lengthint
│ └── dateint
├── viewsint (optional)
├── forwardsint (optional)
├── repliesMessageReplies (optional)
│ └── MessageReplies
│ ├── commentstrue (optional)
│ ├── repliesint
│ ├── replies_ptsint
│ ├── recent_repliersVector < Peer > (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── channel_idlong (optional)
│ ├── max_idint (optional)
│ └── read_max_idint (optional)
├── edit_dateint (optional)
├── post_authorstring (optional)
├── grouped_idlong (optional)
├── reactionsMessageReactions (optional)
│ └── MessageReactions
│ ├── mintrue (optional)
│ ├── can_see_listtrue (optional)
│ ├── reactions_as_tagstrue (optional)
│ ├── resultsVector < ReactionCount >
│ │ └── ReactionCount
│ │ ├── chosen_orderint (optional)
│ │ ├── reactionReaction
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ └── countint
│ ├── recent_reactionsVector < MessagePeerReaction > (optional)
│ │ └── MessagePeerReaction
│ │ ├── bigtrue (optional)
│ │ ├── unreadtrue (optional)
│ │ ├── mytrue (optional)
│ │ ├── peer_idPeer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── dateint
│ │ └── reactionReaction
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ ├── ReactionCustomEmoji
│ │ └── ReactionPaid
│ └── top_reactorsVector < MessageReactor > (optional)
│ └── MessageReactor
│ ├── toptrue (optional)
│ ├── mytrue (optional)
│ ├── anonymoustrue (optional)
│ ├── peer_idPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ └── countint
├── restriction_reasonVector < RestrictionReason > (optional)
│ └── RestrictionReason
│ ├── platformstring
│ ├── reasonstring
│ └── textstring
├── ttl_periodint (optional)
├── quick_reply_shortcut_idint (optional)
├── effectlong (optional)
├── factcheckFactCheck (optional)
│ └── FactCheck
│ ├── need_checktrue (optional)
│ ├── countrystring (optional)
│ ├── textTextWithEntities (optional)
│ │ └── TextWithEntities
│ │ ├── textstring
│ │ └── entitiesVector < MessageEntity >
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ └── MessageEntityFormattedDate
│ └── hashlong
├── report_delivery_until_dateint (optional)
├── paid_message_starslong (optional)
├── suggested_postSuggestedPost (optional)
│ └── SuggestedPost
│ ├── acceptedtrue (optional)
│ ├── rejectedtrue (optional)
│ ├── priceStarsAmount (optional)
│ │ ├── StarsAmount
│ │ │ ├── amountlong
│ │ │ └── nanosint
│ │ └── StarsTonAmount
│ │ └── amountlong
│ └── schedule_dateint (optional)
├── schedule_repeat_periodint (optional)
└── summary_from_languagestring (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",
)