MessageService

class pyrogram.raw.types.MessageService

Indicates a service message

Constructor of Message.

Details:
  • Layer: 223

  • ID: 7A800E0A

Parameters:
  • id (int 32-bit) – Message ID

  • peer_id (Peer) – Sender of service message

  • date (int 32-bit) – Message date

  • action (MessageAction) – Event connected with the service message

  • out (bool, optional) – Whether the message is outgoing

  • mentioned (bool, optional) – Whether we were mentioned in the message

  • media_unread (bool, optional) – Whether the message contains unread media

  • reactions_are_possible (bool, optional) – Whether you can react to this message ».

  • silent (bool, optional) – Whether the message is silent

  • post (bool, optional) – Whether it’s a channel post

  • legacy (bool, optional) – This is a legacy message: it has to be refetched with the new layer

  • from_id (Peer, optional) – ID of the sender of this message

  • saved_peer_id (Peer, optional) – Will only be set for service messages within a monoforum topic »: peer will be equal to the ID of the monoforum and the saved_peer_id flag will be set to the ID of a topic.

  • reply_to (MessageReplyHeader, optional) – Reply (thread) information

  • reactions (MessageReactions, optional) – Reactions ».

  • ttl_period (int 32-bit, optional) – Time To Live of the message, once message.date+message.ttl_period === time(), the message will be deleted on the server, and must be deleted locally as well.

TL Schema

messageService#7a800e0a
flags:#
out:flags.1?true
mentioned:flags.4?true
media_unread:flags.5?true
reactions_are_possible:flags.9?true
silent:flags.13?true
post:flags.14?true
legacy:flags.19?true
id:int
from_id:flags.8?Peer
peer_id:Peer
saved_peer_id:flags.28?Peer
reply_to:flags.3?MessageReplyHeader
date:int
action:MessageAction
reactions:flags.20?MessageReactions
ttl_period:flags.25?int

= Message

Parameter Tree

MessageService
├── outtrue (optional)
├── mentionedtrue (optional)
├── media_unreadtrue (optional)
├── reactions_are_possibletrue (optional)
├── silenttrue (optional)
├── posttrue (optional)
├── legacytrue (optional)
├── idint
├── from_idPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── peer_idPeer
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── saved_peer_idPeer (optional)
│ ├── PeerUser
│ │ └── user_idlong
│ ├── PeerChat
│ │ └── chat_idlong
│ └── PeerChannel
│ └── channel_idlong
├── 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
├── actionMessageAction
│ ├── MessageActionEmpty
│ │ ├── titlestring
│ │ └── usersVector < long >
│ │ └── titlestring
│ │ └── photoPhoto
│ │ ├── 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
│ │ └── usersVector < long >
│ │ └── user_idlong
│ │ └── inviter_idlong
│ │ └── titlestring
│ │ └── channel_idlong
│ │ ├── titlestring
│ │ └── chat_idlong
│ │ ├── game_idlong
│ │ └── scoreint
│ │ ├── recurring_inittrue (optional)
│ │ ├── recurring_usedtrue (optional)
│ │ ├── currencystring
│ │ ├── total_amountlong
│ │ ├── payloadbytes
│ │ ├── infoPaymentRequestedInfo (optional)
│ │ │ └── PaymentRequestedInfo
│ │ │ ├── namestring (optional)
│ │ │ ├── phonestring (optional)
│ │ │ ├── emailstring (optional)
│ │ │ └── shipping_addressPostAddress (optional)
│ │ │ └── PostAddress
│ │ ├── shipping_option_idstring (optional)
│ │ ├── chargePaymentCharge
│ │ │ └── PaymentCharge
│ │ │ ├── idstring
│ │ │ └── provider_charge_idstring
│ │ └── subscription_until_dateint (optional)
│ │ ├── recurring_inittrue (optional)
│ │ ├── recurring_usedtrue (optional)
│ │ ├── currencystring
│ │ ├── total_amountlong
│ │ ├── invoice_slugstring (optional)
│ │ └── subscription_until_dateint (optional)
│ │ ├── videotrue (optional)
│ │ ├── call_idlong
│ │ ├── reasonPhoneCallDiscardReason (optional)
│ │ │ ├── PhoneCallDiscardReasonMissed
│ │ │ ├── PhoneCallDiscardReasonDisconnect
│ │ │ ├── PhoneCallDiscardReasonHangup
│ │ │ ├── PhoneCallDiscardReasonBusy
│ │ │ └── slugstring
│ │ └── durationint (optional)
│ │ └── messagestring
│ │ ├── attach_menutrue (optional)
│ │ ├── from_requesttrue (optional)
│ │ ├── domainstring (optional)
│ │ └── appBotApp (optional)
│ │ ├── BotAppNotModified
│ │ └── BotApp
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── short_namestring
│ │ ├── titlestring
│ │ ├── descriptionstring
│ │ ├── photoPhoto
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── documentDocument (optional)
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ └── hashlong
│ │ ├── valuesVector < SecureValue >
│ │ │ └── SecureValue
│ │ │ ├── typeSecureValueType
│ │ │ │ ├── SecureValueTypePersonalDetails
│ │ │ │ ├── SecureValueTypePassport
│ │ │ │ ├── SecureValueTypeDriverLicense
│ │ │ │ ├── SecureValueTypeIdentityCard
│ │ │ │ ├── SecureValueTypeInternalPassport
│ │ │ │ ├── SecureValueTypeAddress
│ │ │ │ ├── SecureValueTypeUtilityBill
│ │ │ │ ├── SecureValueTypeBankStatement
│ │ │ │ ├── SecureValueTypeRentalAgreement
│ │ │ │ ├── SecureValueTypePassportRegistration
│ │ │ │ ├── SecureValueTypeTemporaryRegistration
│ │ │ │ ├── SecureValueTypePhone
│ │ │ │ └── SecureValueTypeEmail
│ │ │ ├── dataSecureData (optional)
│ │ │ │ └── SecureData
│ │ │ ├── front_sideSecureFile (optional)
│ │ │ │ ├── SecureFileEmpty
│ │ │ │ └── SecureFile
│ │ │ ├── reverse_sideSecureFile (optional)
│ │ │ │ ├── SecureFileEmpty
│ │ │ │ └── SecureFile
│ │ │ ├── selfieSecureFile (optional)
│ │ │ │ ├── SecureFileEmpty
│ │ │ │ └── SecureFile
│ │ │ ├── translationVector < SecureFile > (optional)
│ │ │ │ ├── SecureFileEmpty
│ │ │ │ └── SecureFile
│ │ │ ├── filesVector < SecureFile > (optional)
│ │ │ │ ├── SecureFileEmpty
│ │ │ │ └── SecureFile
│ │ │ ├── plain_dataSecurePlainData (optional)
│ │ │ │ ├── SecurePlainPhone
│ │ │ │ └── SecurePlainEmail
│ │ │ └── hashbytes
│ │ └── credentialsSecureCredentialsEncrypted
│ │ └── SecureCredentialsEncrypted
│ │ ├── databytes
│ │ ├── hashbytes
│ │ └── secretbytes
│ │ └── typesVector < SecureValueType >
│ │ ├── SecureValueTypePassport
│ │ ├── SecureValueTypeIdentityCard
│ │ ├── SecureValueTypeAddress
│ │ ├── SecureValueTypeUtilityBill
│ │ ├── SecureValueTypePhone
│ │ └── SecureValueTypeEmail
│ │ ├── from_idPeer
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── to_idPeer
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ └── distanceint
│ │ ├── callInputGroupCall
│ │ │ ├── InputGroupCall
│ │ │ │ ├── idlong
│ │ │ │ └── access_hashlong
│ │ │ ├── InputGroupCallSlug
│ │ │ │ └── slugstring
│ │ │ └── InputGroupCallInviteMessage
│ │ │ └── msg_idint
│ │ └── durationint (optional)
│ │ ├── callInputGroupCall
│ │ │ ├── InputGroupCall
│ │ │ │ ├── idlong
│ │ │ │ └── access_hashlong
│ │ │ ├── InputGroupCallSlug
│ │ │ │ └── slugstring
│ │ │ └── InputGroupCallInviteMessage
│ │ │ └── msg_idint
│ │ └── usersVector < long >
│ │ ├── periodint
│ │ └── auto_setting_fromlong (optional)
│ │ ├── callInputGroupCall
│ │ │ ├── InputGroupCall
│ │ │ │ ├── idlong
│ │ │ │ └── access_hashlong
│ │ │ ├── InputGroupCallSlug
│ │ │ │ └── slugstring
│ │ │ └── InputGroupCallInviteMessage
│ │ │ └── msg_idint
│ │ └── schedule_dateint
│ │ └── themeChatTheme
│ │ ├── ChatTheme
│ │ │ └── emoticonstring
│ │ └── ChatThemeUniqueGift
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ └── StarGiftUnique
│ │ └── theme_settingsVector < ThemeSettings >
│ │ └── ThemeSettings
│ │ ├── textstring
│ │ └── datastring
│ │ └── textstring
│ │ ├── currencystring
│ │ ├── amountlong
│ │ ├── daysint
│ │ ├── crypto_currencystring (optional)
│ │ ├── crypto_amountlong (optional)
│ │ └── messageTextWithEntities (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
│ │ ├── title_missingtrue (optional)
│ │ ├── titlestring
│ │ ├── icon_colorint
│ │ └── icon_emoji_idlong (optional)
│ │ ├── titlestring (optional)
│ │ ├── icon_emoji_idlong (optional)
│ │ ├── closedBool (optional)
│ │ └── hiddenBool (optional)
│ │ └── photoPhoto
│ │ ├── 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
│ │ ├── button_idint
│ │ └── peersVector < Peer >
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ │ ├── sametrue (optional)
│ │ ├── for_bothtrue (optional)
│ │ └── wallpaperWallPaper
│ │ ├── WallPaper
│ │ │ ├── idlong
│ │ │ ├── creatortrue (optional)
│ │ │ ├── defaulttrue (optional)
│ │ │ ├── patterntrue (optional)
│ │ │ ├── darktrue (optional)
│ │ │ ├── access_hashlong
│ │ │ ├── slugstring
│ │ │ ├── documentDocument
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── settingsWallPaperSettings (optional)
│ │ │ └── WallPaperSettings
│ │ └── WallPaperNoFile
│ │ ├── idlong
│ │ ├── defaulttrue (optional)
│ │ ├── darktrue (optional)
│ │ └── settingsWallPaperSettings (optional)
│ │ └── WallPaperSettings
│ ├── MessageActionGiftCode
│ │ ├── via_giveawaytrue (optional)
│ │ ├── unclaimedtrue (optional)
│ │ ├── boost_peerPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── daysint
│ │ ├── slugstring
│ │ ├── currencystring (optional)
│ │ ├── amountlong (optional)
│ │ ├── crypto_currencystring (optional)
│ │ ├── crypto_amountlong (optional)
│ │ └── messageTextWithEntities (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
│ │ └── starslong (optional)
│ │ ├── starstrue (optional)
│ │ ├── winners_countint
│ │ └── unclaimed_countint
│ │ └── boostsint
│ │ ├── button_idint
│ │ └── peersVector < RequestedPeer >
│ │ ├── RequestedPeerUser
│ │ │ ├── user_idlong
│ │ │ ├── first_namestring (optional)
│ │ │ ├── last_namestring (optional)
│ │ │ ├── usernamestring (optional)
│ │ │ └── photoPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ ├── RequestedPeerChat
│ │ │ ├── chat_idlong
│ │ │ ├── titlestring (optional)
│ │ │ └── photoPhoto (optional)
│ │ │ ├── PhotoEmpty
│ │ │ └── Photo
│ │ └── RequestedPeerChannel
│ │ ├── channel_idlong
│ │ ├── titlestring (optional)
│ │ ├── usernamestring (optional)
│ │ └── photoPhoto (optional)
│ │ ├── PhotoEmpty
│ │ └── Photo
│ │ ├── peerPeer
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── currencystring
│ │ ├── total_amountlong
│ │ ├── payloadbytes (optional)
│ │ └── chargePaymentCharge
│ │ └── PaymentCharge
│ │ ├── idstring
│ │ └── provider_charge_idstring
│ │ ├── currencystring
│ │ ├── amountlong
│ │ ├── starslong
│ │ ├── crypto_currencystring (optional)
│ │ ├── crypto_amountlong (optional)
│ │ └── transaction_idstring (optional)
│ │ ├── unclaimedtrue (optional)
│ │ ├── starslong
│ │ ├── transaction_idstring
│ │ ├── boost_peerPeer
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ └── giveaway_msg_idint
│ ├── MessageActionStarGift
│ │ ├── name_hiddentrue (optional)
│ │ ├── savedtrue (optional)
│ │ ├── convertedtrue (optional)
│ │ ├── upgradedtrue (optional)
│ │ ├── refundedtrue (optional)
│ │ ├── can_upgradetrue (optional)
│ │ ├── prepaid_upgradetrue (optional)
│ │ ├── upgrade_separatetrue (optional)
│ │ ├── auction_acquiredtrue (optional)
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ │ ├── limitedtrue (optional)
│ │ │ │ ├── sold_outtrue (optional)
│ │ │ │ ├── birthdaytrue (optional)
│ │ │ │ ├── require_premiumtrue (optional)
│ │ │ │ ├── limited_per_usertrue (optional)
│ │ │ │ ├── peer_color_availabletrue (optional)
│ │ │ │ ├── auctiontrue (optional)
│ │ │ │ ├── idlong
│ │ │ │ ├── stickerDocument
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── starslong
│ │ │ │ ├── availability_remainsint (optional)
│ │ │ │ ├── availability_totalint (optional)
│ │ │ │ ├── availability_resalelong (optional)
│ │ │ │ ├── convert_starslong
│ │ │ │ ├── first_sale_dateint (optional)
│ │ │ │ ├── last_sale_dateint (optional)
│ │ │ │ ├── upgrade_starslong (optional)
│ │ │ │ ├── resell_min_starslong (optional)
│ │ │ │ ├── titlestring (optional)
│ │ │ │ ├── released_byPeer (optional)
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── per_user_totalint (optional)
│ │ │ │ ├── per_user_remainsint (optional)
│ │ │ │ ├── locked_until_dateint (optional)
│ │ │ │ ├── auction_slugstring (optional)
│ │ │ │ ├── gifts_per_roundint (optional)
│ │ │ │ ├── auction_start_dateint (optional)
│ │ │ │ ├── upgrade_variantsint (optional)
│ │ │ │ └── backgroundStarGiftBackground (optional)
│ │ │ │ └── StarGiftBackground
│ │ │ └── StarGiftUnique
│ │ │ ├── require_premiumtrue (optional)
│ │ │ ├── resale_ton_onlytrue (optional)
│ │ │ ├── theme_availabletrue (optional)
│ │ │ ├── burnedtrue (optional)
│ │ │ ├── craftedtrue (optional)
│ │ │ ├── idlong
│ │ │ ├── gift_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── numint
│ │ │ ├── owner_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── owner_namestring (optional)
│ │ │ ├── owner_addressstring (optional)
│ │ │ ├── attributesVector < StarGiftAttribute >
│ │ │ │ ├── StarGiftAttributeModel
│ │ │ │ ├── StarGiftAttributePattern
│ │ │ │ ├── StarGiftAttributeBackdrop
│ │ │ │ └── StarGiftAttributeOriginalDetails
│ │ │ ├── availability_issuedint
│ │ │ ├── availability_totalint
│ │ │ ├── gift_addressstring (optional)
│ │ │ ├── resell_amountVector < StarsAmount > (optional)
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ ├── released_byPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── value_amountlong (optional)
│ │ │ ├── value_currencystring (optional)
│ │ │ ├── value_usd_amountlong (optional)
│ │ │ ├── theme_peerPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── peer_colorPeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── host_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── offer_min_starsint (optional)
│ │ │ └── craft_chance_permilleint (optional)
│ │ ├── messageTextWithEntities (optional)
│ │ │ └── TextWithEntities
│ │ │ ├── textstring
│ │ │ └── entitiesVector < MessageEntity >
│ │ │ ├── MessageEntityUnknown
│ │ │ ├── MessageEntityMention
│ │ │ ├── MessageEntityHashtag
│ │ │ ├── MessageEntityBotCommand
│ │ │ ├── MessageEntityUrl
│ │ │ ├── MessageEntityEmail
│ │ │ ├── MessageEntityBold
│ │ │ ├── MessageEntityItalic
│ │ │ ├── MessageEntityCode
│ │ │ ├── MessageEntityPre
│ │ │ ├── MessageEntityTextUrl
│ │ │ ├── MessageEntityMentionName
│ │ │ ├── InputMessageEntityMentionName
│ │ │ ├── MessageEntityPhone
│ │ │ ├── MessageEntityCashtag
│ │ │ ├── MessageEntityUnderline
│ │ │ ├── MessageEntityStrike
│ │ │ ├── MessageEntityBankCard
│ │ │ ├── MessageEntitySpoiler
│ │ │ ├── MessageEntityCustomEmoji
│ │ │ ├── MessageEntityBlockquote
│ │ │ └── MessageEntityFormattedDate
│ │ ├── convert_starslong (optional)
│ │ ├── upgrade_msg_idint (optional)
│ │ ├── upgrade_starslong (optional)
│ │ ├── from_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── peerPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── saved_idlong (optional)
│ │ ├── prepaid_upgrade_hashstring (optional)
│ │ ├── gift_msg_idint (optional)
│ │ ├── to_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ └── gift_numint (optional)
│ │ ├── upgradetrue (optional)
│ │ ├── transferredtrue (optional)
│ │ ├── savedtrue (optional)
│ │ ├── refundedtrue (optional)
│ │ ├── prepaid_upgradetrue (optional)
│ │ ├── assignedtrue (optional)
│ │ ├── from_offertrue (optional)
│ │ ├── crafttrue (optional)
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ │ ├── limitedtrue (optional)
│ │ │ │ ├── sold_outtrue (optional)
│ │ │ │ ├── birthdaytrue (optional)
│ │ │ │ ├── require_premiumtrue (optional)
│ │ │ │ ├── limited_per_usertrue (optional)
│ │ │ │ ├── peer_color_availabletrue (optional)
│ │ │ │ ├── auctiontrue (optional)
│ │ │ │ ├── idlong
│ │ │ │ ├── stickerDocument
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── starslong
│ │ │ │ ├── availability_remainsint (optional)
│ │ │ │ ├── availability_totalint (optional)
│ │ │ │ ├── availability_resalelong (optional)
│ │ │ │ ├── convert_starslong
│ │ │ │ ├── first_sale_dateint (optional)
│ │ │ │ ├── last_sale_dateint (optional)
│ │ │ │ ├── upgrade_starslong (optional)
│ │ │ │ ├── resell_min_starslong (optional)
│ │ │ │ ├── titlestring (optional)
│ │ │ │ ├── released_byPeer (optional)
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── per_user_totalint (optional)
│ │ │ │ ├── per_user_remainsint (optional)
│ │ │ │ ├── locked_until_dateint (optional)
│ │ │ │ ├── auction_slugstring (optional)
│ │ │ │ ├── gifts_per_roundint (optional)
│ │ │ │ ├── auction_start_dateint (optional)
│ │ │ │ ├── upgrade_variantsint (optional)
│ │ │ │ └── backgroundStarGiftBackground (optional)
│ │ │ │ └── StarGiftBackground
│ │ │ └── StarGiftUnique
│ │ │ ├── require_premiumtrue (optional)
│ │ │ ├── resale_ton_onlytrue (optional)
│ │ │ ├── theme_availabletrue (optional)
│ │ │ ├── burnedtrue (optional)
│ │ │ ├── craftedtrue (optional)
│ │ │ ├── idlong
│ │ │ ├── gift_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── numint
│ │ │ ├── owner_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── owner_namestring (optional)
│ │ │ ├── owner_addressstring (optional)
│ │ │ ├── attributesVector < StarGiftAttribute >
│ │ │ │ ├── StarGiftAttributeModel
│ │ │ │ ├── StarGiftAttributePattern
│ │ │ │ ├── StarGiftAttributeBackdrop
│ │ │ │ └── StarGiftAttributeOriginalDetails
│ │ │ ├── availability_issuedint
│ │ │ ├── availability_totalint
│ │ │ ├── gift_addressstring (optional)
│ │ │ ├── resell_amountVector < StarsAmount > (optional)
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ ├── released_byPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── value_amountlong (optional)
│ │ │ ├── value_currencystring (optional)
│ │ │ ├── value_usd_amountlong (optional)
│ │ │ ├── theme_peerPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── peer_colorPeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── host_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── offer_min_starsint (optional)
│ │ │ └── craft_chance_permilleint (optional)
│ │ ├── can_export_atint (optional)
│ │ ├── transfer_starslong (optional)
│ │ ├── from_idPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── peerPeer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_idlong
│ │ │ ├── PeerChat
│ │ │ │ └── chat_idlong
│ │ │ └── PeerChannel
│ │ │ └── channel_idlong
│ │ ├── saved_idlong (optional)
│ │ ├── resale_amountStarsAmount (optional)
│ │ │ ├── StarsAmount
│ │ │ │ ├── amountlong
│ │ │ │ └── nanosint
│ │ │ └── StarsTonAmount
│ │ │ └── amountlong
│ │ ├── can_transfer_atint (optional)
│ │ ├── can_resell_atint (optional)
│ │ ├── drop_original_details_starslong (optional)
│ │ └── can_craft_atint (optional)
│ │ ├── countint
│ │ └── starslong
│ │ ├── broadcast_messages_allowedtrue (optional)
│ │ └── starslong
│ │ ├── missedtrue (optional)
│ │ ├── activetrue (optional)
│ │ ├── videotrue (optional)
│ │ ├── call_idlong
│ │ ├── durationint (optional)
│ │ └── other_participantsVector < Peer > (optional)
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ │ ├── completedVector < int >
│ │ └── incompletedVector < int >
│ │ └── listVector < TodoItem >
│ │ └── TodoItem
│ │ ├── idint
│ │ └── titleTextWithEntities
│ │ └── TextWithEntities
│ │ ├── rejectedtrue (optional)
│ │ ├── balance_too_lowtrue (optional)
│ │ ├── reject_commentstring (optional)
│ │ ├── schedule_dateint (optional)
│ │ └── priceStarsAmount (optional)
│ │ ├── StarsAmount
│ │ │ ├── amountlong
│ │ │ └── nanosint
│ │ └── StarsTonAmount
│ │ └── amountlong
│ │ └── priceStarsAmount
│ │ ├── StarsAmount
│ │ │ ├── amountlong
│ │ │ └── nanosint
│ │ └── StarsTonAmount
│ │ └── amountlong
│ │ └── payer_initiatedtrue (optional)
│ ├── MessageActionGiftTon
│ │ ├── currencystring
│ │ ├── amountlong
│ │ ├── crypto_currencystring
│ │ ├── crypto_amountlong
│ │ └── transaction_idstring (optional)
│ │ └── birthdayBirthday
│ │ └── Birthday
│ │ ├── dayint
│ │ ├── monthint
│ │ └── yearint (optional)
│ │ ├── acceptedtrue (optional)
│ │ ├── declinedtrue (optional)
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ │ ├── limitedtrue (optional)
│ │ │ │ ├── sold_outtrue (optional)
│ │ │ │ ├── birthdaytrue (optional)
│ │ │ │ ├── require_premiumtrue (optional)
│ │ │ │ ├── limited_per_usertrue (optional)
│ │ │ │ ├── peer_color_availabletrue (optional)
│ │ │ │ ├── auctiontrue (optional)
│ │ │ │ ├── idlong
│ │ │ │ ├── stickerDocument
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── starslong
│ │ │ │ ├── availability_remainsint (optional)
│ │ │ │ ├── availability_totalint (optional)
│ │ │ │ ├── availability_resalelong (optional)
│ │ │ │ ├── convert_starslong
│ │ │ │ ├── first_sale_dateint (optional)
│ │ │ │ ├── last_sale_dateint (optional)
│ │ │ │ ├── upgrade_starslong (optional)
│ │ │ │ ├── resell_min_starslong (optional)
│ │ │ │ ├── titlestring (optional)
│ │ │ │ ├── released_byPeer (optional)
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── per_user_totalint (optional)
│ │ │ │ ├── per_user_remainsint (optional)
│ │ │ │ ├── locked_until_dateint (optional)
│ │ │ │ ├── auction_slugstring (optional)
│ │ │ │ ├── gifts_per_roundint (optional)
│ │ │ │ ├── auction_start_dateint (optional)
│ │ │ │ ├── upgrade_variantsint (optional)
│ │ │ │ └── backgroundStarGiftBackground (optional)
│ │ │ │ └── StarGiftBackground
│ │ │ └── StarGiftUnique
│ │ │ ├── require_premiumtrue (optional)
│ │ │ ├── resale_ton_onlytrue (optional)
│ │ │ ├── theme_availabletrue (optional)
│ │ │ ├── burnedtrue (optional)
│ │ │ ├── craftedtrue (optional)
│ │ │ ├── idlong
│ │ │ ├── gift_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── numint
│ │ │ ├── owner_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── owner_namestring (optional)
│ │ │ ├── owner_addressstring (optional)
│ │ │ ├── attributesVector < StarGiftAttribute >
│ │ │ │ ├── StarGiftAttributeModel
│ │ │ │ ├── StarGiftAttributePattern
│ │ │ │ ├── StarGiftAttributeBackdrop
│ │ │ │ └── StarGiftAttributeOriginalDetails
│ │ │ ├── availability_issuedint
│ │ │ ├── availability_totalint
│ │ │ ├── gift_addressstring (optional)
│ │ │ ├── resell_amountVector < StarsAmount > (optional)
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ ├── released_byPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── value_amountlong (optional)
│ │ │ ├── value_currencystring (optional)
│ │ │ ├── value_usd_amountlong (optional)
│ │ │ ├── theme_peerPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── peer_colorPeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── host_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── offer_min_starsint (optional)
│ │ │ └── craft_chance_permilleint (optional)
│ │ ├── priceStarsAmount
│ │ │ ├── StarsAmount
│ │ │ │ ├── amountlong
│ │ │ │ └── nanosint
│ │ │ └── StarsTonAmount
│ │ │ └── amountlong
│ │ └── expires_atint
│ │ ├── expiredtrue (optional)
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ │ ├── limitedtrue (optional)
│ │ │ │ ├── sold_outtrue (optional)
│ │ │ │ ├── birthdaytrue (optional)
│ │ │ │ ├── require_premiumtrue (optional)
│ │ │ │ ├── limited_per_usertrue (optional)
│ │ │ │ ├── peer_color_availabletrue (optional)
│ │ │ │ ├── auctiontrue (optional)
│ │ │ │ ├── idlong
│ │ │ │ ├── stickerDocument
│ │ │ │ │ ├── DocumentEmpty
│ │ │ │ │ └── Document
│ │ │ │ ├── starslong
│ │ │ │ ├── availability_remainsint (optional)
│ │ │ │ ├── availability_totalint (optional)
│ │ │ │ ├── availability_resalelong (optional)
│ │ │ │ ├── convert_starslong
│ │ │ │ ├── first_sale_dateint (optional)
│ │ │ │ ├── last_sale_dateint (optional)
│ │ │ │ ├── upgrade_starslong (optional)
│ │ │ │ ├── resell_min_starslong (optional)
│ │ │ │ ├── titlestring (optional)
│ │ │ │ ├── released_byPeer (optional)
│ │ │ │ │ ├── PeerUser
│ │ │ │ │ ├── PeerChat
│ │ │ │ │ └── PeerChannel
│ │ │ │ ├── per_user_totalint (optional)
│ │ │ │ ├── per_user_remainsint (optional)
│ │ │ │ ├── locked_until_dateint (optional)
│ │ │ │ ├── auction_slugstring (optional)
│ │ │ │ ├── gifts_per_roundint (optional)
│ │ │ │ ├── auction_start_dateint (optional)
│ │ │ │ ├── upgrade_variantsint (optional)
│ │ │ │ └── backgroundStarGiftBackground (optional)
│ │ │ │ └── StarGiftBackground
│ │ │ └── StarGiftUnique
│ │ │ ├── require_premiumtrue (optional)
│ │ │ ├── resale_ton_onlytrue (optional)
│ │ │ ├── theme_availabletrue (optional)
│ │ │ ├── burnedtrue (optional)
│ │ │ ├── craftedtrue (optional)
│ │ │ ├── idlong
│ │ │ ├── gift_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── numint
│ │ │ ├── owner_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── owner_namestring (optional)
│ │ │ ├── owner_addressstring (optional)
│ │ │ ├── attributesVector < StarGiftAttribute >
│ │ │ │ ├── StarGiftAttributeModel
│ │ │ │ ├── StarGiftAttributePattern
│ │ │ │ ├── StarGiftAttributeBackdrop
│ │ │ │ └── StarGiftAttributeOriginalDetails
│ │ │ ├── availability_issuedint
│ │ │ ├── availability_totalint
│ │ │ ├── gift_addressstring (optional)
│ │ │ ├── resell_amountVector < StarsAmount > (optional)
│ │ │ │ ├── StarsAmount
│ │ │ │ └── StarsTonAmount
│ │ │ ├── released_byPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── value_amountlong (optional)
│ │ │ ├── value_currencystring (optional)
│ │ │ ├── value_usd_amountlong (optional)
│ │ │ ├── theme_peerPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── peer_colorPeerColor (optional)
│ │ │ │ ├── PeerColor
│ │ │ │ ├── PeerColorCollectible
│ │ │ │ └── InputPeerColorCollectible
│ │ │ ├── host_idPeer (optional)
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── offer_min_starsint (optional)
│ │ │ └── craft_chance_permilleint (optional)
│ │ └── priceStarsAmount
│ │ ├── StarsAmount
│ │ │ ├── amountlong
│ │ │ └── nanosint
│ │ └── StarsTonAmount
│ │ └── amountlong
│ │ └── new_creator_idlong
│ │ └── new_creator_idlong
│ │ ├── prev_valueBool
│ │ └── new_valueBool
│ ├── expiredtrue (optional)
│ ├── prev_valueBool
│ └── new_valueBool
├── 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
└── ttl_periodint (optional)

Example

MessageService(
    id=0,
    peer_id=PeerUser(user_id=0),
    date=0,
    action=MessageActionEmpty(),
)