StarsTransaction

class pyrogram.raw.base.StarsTransaction

Represents a Telegram Stars transaction ».

Constructors:

This base type has 1 constructor available.

StarsTransaction

Represents a Telegram Stars or TON transaction ».

TL Schema

starsTransaction#13659eb0
flags:#
refund:flags.3?true
pending:flags.4?true
failed:flags.6?true
gift:flags.10?true
reaction:flags.11?true
stargift_upgrade:flags.18?true
business_transfer:flags.21?true
stargift_resale:flags.22?true
posts_search:flags.24?true
stargift_prepaid_upgrade:flags.25?true
stargift_drop_original_details:flags.26?true
phonegroup_message:flags.27?true
stargift_auction_bid:flags.28?true
offer:flags.29?true
id:string
amount:StarsAmount
date:int
peer:StarsTransactionPeer
title:flags.0?string
description:flags.1?string
photo:flags.2?WebDocument
transaction_date:flags.5?int
transaction_url:flags.5?string
bot_payload:flags.7?bytes
msg_id:flags.8?int
extended_media:flags.9?Vector<MessageMedia>
subscription_period:flags.12?int
giveaway_post_id:flags.13?int
stargift:flags.14?StarGift
floodskip_number:flags.15?int
starref_commission_permille:flags.16?int
starref_peer:flags.17?Peer
starref_amount:flags.17?StarsAmount
paid_messages:flags.19?int
premium_gift_months:flags.20?int
ads_proceeds_from_date:flags.23?int
ads_proceeds_to_date:flags.23?int

= StarsTransaction

Parameter Tree

StarsTransaction
├── refund → true (optional)
├── pending → true (optional)
├── failed → true (optional)
├── gift → true (optional)
├── reaction → true (optional)
├── stargift_upgrade → true (optional)
├── business_transfer → true (optional)
├── stargift_resale → true (optional)
├── posts_search → true (optional)
├── stargift_prepaid_upgrade → true (optional)
├── stargift_drop_original_details → true (optional)
├── phonegroup_message → true (optional)
├── stargift_auction_bid → true (optional)
├── offer → true (optional)
├── id → string
├── amount → StarsAmount
│ ├── StarsAmount
│ │ ├── amount → long
│ │ └── nanos → int
│ └── StarsTonAmount
│ └── amount → long
├── date → int
├── peer → StarsTransactionPeer
│ ├── StarsTransactionPeer
│ │ └── peer → Peer
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
├── title → string (optional)
├── description → string (optional)
├── photo → WebDocument (optional)
│ ├── WebDocument
│ │ ├── url → string
│ │ ├── access_hash → long
│ │ ├── size → int
│ │ ├── mime_type → string
│ │ └── attributes → Vector < DocumentAttribute >
│ │ ├── DocumentAttributeImageSize
│ │ │ ├── w → int
│ │ │ └── h → int
│ │ ├── DocumentAttributeAnimated
│ │ ├── DocumentAttributeSticker
│ │ │ ├── mask → true (optional)
│ │ │ ├── alt → string
│ │ │ ├── stickerset → InputStickerSet
│ │ │ │ ├── InputStickerSetEmpty
│ │ │ │ ├── InputStickerSetID
│ │ │ │ ├── InputStickerSetShortName
│ │ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ │ ├── InputStickerSetDice
│ │ │ │ ├── InputStickerSetAnimatedEmojiAnimations
│ │ │ │ ├── InputStickerSetPremiumGifts
│ │ │ │ ├── InputStickerSetEmojiGenericAnimations
│ │ │ │ ├── InputStickerSetEmojiDefaultStatuses
│ │ │ │ ├── InputStickerSetEmojiDefaultTopicIcons
│ │ │ │ └── InputStickerSetTonGifts
│ │ │ └── mask_coords → MaskCoords (optional)
│ │ │ └── MaskCoords
│ │ ├── DocumentAttributeVideo
│ │ │ ├── round_message → true (optional)
│ │ │ ├── supports_streaming → true (optional)
│ │ │ ├── nosound → true (optional)
│ │ │ ├── duration → double
│ │ │ ├── w → int
│ │ │ ├── h → int
│ │ │ ├── preload_prefix_size → int (optional)
│ │ │ ├── video_start_ts → double (optional)
│ │ │ └── video_codec → string (optional)
│ │ ├── DocumentAttributeAudio
│ │ │ ├── voice → true (optional)
│ │ │ ├── duration → int
│ │ │ ├── title → string (optional)
│ │ │ ├── performer → string (optional)
│ │ │ └── waveform → bytes (optional)
│ │ ├── DocumentAttributeFilename
│ │ │ └── file_name → string
│ │ ├── free → true (optional)
│ │ ├── text_color → true (optional)
│ │ ├── alt → string
│ │ └── stickerset → InputStickerSet
│ │ ├── InputStickerSetEmpty
│ │ ├── InputStickerSetID
│ │ ├── InputStickerSetShortName
│ │ ├── InputStickerSetDice
│ │ ├── InputStickerSetPremiumGifts
│ │ └── InputStickerSetTonGifts
│ └── WebDocumentNoProxy
│ ├── url → string
│ ├── size → int
│ ├── mime_type → string
│ └── attributes → Vector < DocumentAttribute >
│ │ ├── w → int
│ │ └── h → int
│ │ ├── mask → true (optional)
│ │ ├── alt → string
│ │ ├── stickerset → InputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ └── mask_coords → MaskCoords (optional)
│ │ └── MaskCoords
│ │ ├── round_message → true (optional)
│ │ ├── supports_streaming → true (optional)
│ │ ├── nosound → true (optional)
│ │ ├── duration → double
│ │ ├── w → int
│ │ ├── h → int
│ │ ├── preload_prefix_size → int (optional)
│ │ ├── video_start_ts → double (optional)
│ │ └── video_codec → string (optional)
│ │ ├── voice → true (optional)
│ │ ├── duration → int
│ │ ├── title → string (optional)
│ │ ├── performer → string (optional)
│ │ └── waveform → bytes (optional)
│ │ └── file_name → string
│ ├── free → true (optional)
│ ├── text_color → true (optional)
│ ├── alt → string
│ └── stickerset → InputStickerSet
│ ├── InputStickerSetEmpty
│ ├── InputStickerSetID
│ ├── InputStickerSetDice
├── transaction_date → int (optional)
├── transaction_url → string (optional)
├── bot_payload → bytes (optional)
├── msg_id → int (optional)
├── extended_media → Vector < MessageMedia > (optional)
│ ├── MessageMediaEmpty
│ ├── MessageMediaPhoto
│ │ ├── spoiler → true (optional)
│ │ ├── live_photo → 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)
│ │ └── video → 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
│ ├── 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
│ ├── 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
│ │ │ ├── WebPageAttributeStarGiftAuction
│ │ │ └── WebPageAttributeAiComposeTone
│ │ └── 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)
│ │ │ ├── open_answers → true (optional)
│ │ │ ├── revoting_disabled → true (optional)
│ │ │ ├── shuffle_answers → true (optional)
│ │ │ ├── hide_results_until_close → true (optional)
│ │ │ ├── creator → true (optional)
│ │ │ ├── subscribers_only → true (optional)
│ │ │ ├── question → TextWithEntities
│ │ │ │ └── TextWithEntities
│ │ │ ├── answers → Vector < PollAnswer >
│ │ │ │ ├── PollAnswer
│ │ │ │ └── InputPollAnswer
│ │ │ ├── close_period → int (optional)
│ │ │ ├── close_date → int (optional)
│ │ │ ├── countries_iso2 → Vector < string > (optional)
│ │ │ └── hash → long
│ │ ├── results → PollResults
│ │ │ └── PollResults
│ │ │ ├── min → true (optional)
│ │ │ ├── has_unread_votes → true (optional)
│ │ │ ├── can_view_stats → 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
│ │ │ │ ├── MessageEntityDiffInsert
│ │ │ │ ├── MessageEntityDiffReplace
│ │ │ │ └── MessageEntityDiffDelete
│ │ │ └── solution_media → MessageMedia (optional)
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ ├── MessageMediaGeo
│ │ │ ├── MessageMediaContact
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ ├── MessageMediaWebPage
│ │ │ ├── MessageMediaVenue
│ │ │ ├── MessageMediaGame
│ │ │ ├── MessageMediaInvoice
│ │ │ ├── MessageMediaGeoLive
│ │ │ ├── MessageMediaPoll
│ │ │ ├── MessageMediaDice
│ │ │ ├── MessageMediaStory
│ │ │ ├── MessageMediaGiveaway
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ ├── MessageMediaPaidMedia
│ │ │ ├── MessageMediaToDo
│ │ │ └── MessageMediaVideoStream
│ │ └── attached_media → MessageMedia (optional)
│ │ ├── MessageMediaEmpty
│ │ ├── MessageMediaPhoto
│ │ │ ├── spoiler → true (optional)
│ │ │ ├── live_photo → true (optional)
│ │ │ ├── photo → Photo (optional)
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── ttl_seconds → int (optional)
│ │ │ └── video → Document (optional)
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── 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
│ │ │ └── attached_media → MessageMedia (optional)
│ │ │ ├── MessageMediaEmpty
│ │ │ ├── MessageMediaPhoto
│ │ │ ├── MessageMediaGeo
│ │ │ ├── MessageMediaContact
│ │ │ ├── MessageMediaUnsupported
│ │ │ ├── MessageMediaDocument
│ │ │ ├── MessageMediaWebPage
│ │ │ ├── MessageMediaVenue
│ │ │ ├── MessageMediaGame
│ │ │ ├── MessageMediaInvoice
│ │ │ ├── MessageMediaGeoLive
│ │ │ ├── MessageMediaPoll
│ │ │ ├── MessageMediaDice
│ │ │ ├── MessageMediaStory
│ │ │ ├── MessageMediaGiveaway
│ │ │ ├── MessageMediaGiveawayResults
│ │ │ ├── MessageMediaPaidMedia
│ │ │ ├── MessageMediaToDo
│ │ │ └── MessageMediaVideoStream
│ │ ├── 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
│ ├── 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
│ │ │ ├── MessageEntityDiffInsert
│ │ │ ├── MessageEntityDiffReplace
│ │ │ └── MessageEntityDiffDelete
│ │ ├── 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
│ │ │ ├── PrivacyValueAllowCloseFriends
│ │ │ ├── PrivacyValueAllowPremium
│ │ │ ├── PrivacyValueAllowBots
│ │ │ └── PrivacyValueDisallowBots
│ │ ├── views → StoryViews (optional)
│ │ │ └── StoryViews
│ │ ├── sent_reaction → Reaction (optional)
│ │ │ ├── ReactionEmpty
│ │ │ ├── ReactionEmoji
│ │ │ ├── ReactionCustomEmoji
│ │ │ └── ReactionPaid
│ │ ├── albums → Vector < int > (optional)
│ │ └── music → Document (optional)
│ │ ├── DocumentEmpty
│ │ └── Document
│ ├── 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
│ ├── rtmp_stream → true (optional)
│ └── call → InputGroupCall
│ ├── InputGroupCall
│ │ ├── id → long
│ │ └── access_hash → long
│ ├── InputGroupCallSlug
│ │ └── slug → string
│ └── msg_id → int
├── subscription_period → int (optional)
├── giveaway_post_id → int (optional)
├── stargift → StarGift (optional)
│ ├── StarGift
│ │ ├── limited → true (optional)
│ │ ├── sold_out → true (optional)
│ │ ├── birthday → true (optional)
│ │ ├── require_premium → true (optional)
│ │ ├── limited_per_user → true (optional)
│ │ ├── peer_color_available → true (optional)
│ │ ├── auction → true (optional)
│ │ ├── id → long
│ │ ├── sticker → Document
│ │ │ ├── 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
│ │ ├── stars → long
│ │ ├── availability_remains → int (optional)
│ │ ├── availability_total → int (optional)
│ │ ├── availability_resale → long (optional)
│ │ ├── convert_stars → long
│ │ ├── first_sale_date → int (optional)
│ │ ├── last_sale_date → int (optional)
│ │ ├── upgrade_stars → long (optional)
│ │ ├── resell_min_stars → long (optional)
│ │ ├── title → string (optional)
│ │ ├── released_by → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ │ └── user_id → long
│ │ │ ├── PeerChat
│ │ │ │ └── chat_id → long
│ │ │ └── PeerChannel
│ │ │ └── channel_id → long
│ │ ├── per_user_total → int (optional)
│ │ ├── per_user_remains → int (optional)
│ │ ├── locked_until_date → int (optional)
│ │ ├── auction_slug → string (optional)
│ │ ├── gifts_per_round → int (optional)
│ │ ├── auction_start_date → int (optional)
│ │ ├── upgrade_variants → int (optional)
│ │ └── background → StarGiftBackground (optional)
│ │ └── StarGiftBackground
│ │ ├── center_color → int
│ │ ├── edge_color → int
│ │ └── text_color → int
│ └── StarGiftUnique
│ ├── require_premium → true (optional)
│ ├── resale_ton_only → true (optional)
│ ├── theme_available → true (optional)
│ ├── burned → true (optional)
│ ├── crafted → true (optional)
│ ├── id → long
│ ├── gift_id → long
│ ├── title → string
│ ├── slug → string
│ ├── num → int
│ ├── owner_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── owner_name → string (optional)
│ ├── owner_address → string (optional)
│ ├── attributes → Vector < StarGiftAttribute >
│ │ ├── StarGiftAttributeModel
│ │ │ ├── crafted → true (optional)
│ │ │ ├── name → string
│ │ │ ├── document → Document
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── rarity → StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarityUncommon
│ │ │ ├── StarGiftAttributeRarityRare
│ │ │ ├── StarGiftAttributeRarityEpic
│ │ │ └── StarGiftAttributeRarityLegendary
│ │ ├── StarGiftAttributePattern
│ │ │ ├── name → string
│ │ │ ├── document → Document
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── rarity → StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarityUncommon
│ │ │ ├── StarGiftAttributeRarityRare
│ │ │ ├── StarGiftAttributeRarityEpic
│ │ │ └── StarGiftAttributeRarityLegendary
│ │ ├── StarGiftAttributeBackdrop
│ │ │ ├── name → string
│ │ │ ├── backdrop_id → int
│ │ │ ├── center_color → int
│ │ │ ├── edge_color → int
│ │ │ ├── pattern_color → int
│ │ │ ├── text_color → int
│ │ │ └── rarity → StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarity
│ │ │ ├── StarGiftAttributeRarityUncommon
│ │ │ ├── StarGiftAttributeRarityRare
│ │ │ ├── StarGiftAttributeRarityEpic
│ │ │ └── StarGiftAttributeRarityLegendary
│ │ ├── sender_id → Peer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── recipient_id → Peer
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── date → int
│ │ └── message → TextWithEntities (optional)
│ │ └── TextWithEntities
│ ├── availability_issued → int
│ ├── availability_total → int
│ ├── gift_address → string (optional)
│ ├── resell_amount → Vector < StarsAmount > (optional)
│ │ ├── StarsAmount
│ │ │ ├── amount → long
│ │ │ └── nanos → int
│ │ └── StarsTonAmount
│ │ └── amount → long
│ ├── released_by → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── value_amount → long (optional)
│ ├── value_currency → string (optional)
│ ├── value_usd_amount → long (optional)
│ ├── theme_peer → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── peer_color → PeerColor (optional)
│ │ ├── PeerColor
│ │ │ ├── color → int (optional)
│ │ │ └── background_emoji_id → long (optional)
│ │ ├── PeerColorCollectible
│ │ │ ├── collectible_id → long
│ │ │ ├── gift_emoji_id → long
│ │ │ ├── background_emoji_id → long
│ │ │ ├── accent_color → int
│ │ │ ├── colors → Vector < int >
│ │ │ ├── dark_accent_color → int (optional)
│ │ │ └── dark_colors → Vector < int > (optional)
│ │ └── InputPeerColorCollectible
│ │ └── collectible_id → long
│ ├── host_id → Peer (optional)
│ │ ├── PeerUser
│ │ │ └── user_id → long
│ │ ├── PeerChat
│ │ │ └── chat_id → long
│ │ └── PeerChannel
│ │ └── channel_id → long
│ ├── offer_min_stars → int (optional)
│ └── craft_chance_permille → int (optional)
├── floodskip_number → int (optional)
├── starref_commission_permille → int (optional)
├── starref_peer → Peer (optional)
│ ├── PeerUser
│ │ └── user_id → long
│ ├── PeerChat
│ │ └── chat_id → long
│ └── PeerChannel
│ └── channel_id → long
├── starref_amount → StarsAmount (optional)
│ ├── StarsAmount
│ │ ├── amount → long
│ │ └── nanos → int
│ └── StarsTonAmount
│ └── amount → long
├── paid_messages → int (optional)
├── premium_gift_months → int (optional)
├── ads_proceeds_from_date → int (optional)
└── ads_proceeds_to_date → int (optional)

Example

StarsTransaction(
    refund=None,
    pending=None,
    failed=None,
    gift=None,
    reaction=None,
    stargift_upgrade=None,
    business_transfer=None,
    stargift_resale=None,
    posts_search=None,
    stargift_prepaid_upgrade=None,
    stargift_drop_original_details=None,
    phonegroup_message=None,
    stargift_auction_bid=None,
    offer=None,
    id="text",
    amount=StarsAmount(
        amount=0,
        nanos=0
    ),
    date=0,
    peer=StarsTransactionPeerUnsupported(),
    title="text",
    description="text",
    photo=WebDocument(
        url="https://google.com",
        access_hash=0,
        size=0,
        mime_type="text",
        attributes=[
                DocumentAttributeImageSize(
                    w=0,
                    h=0
                )
            ]
    ),
    transaction_date=0,
    transaction_url="text",
    bot_payload=b"data",
    msg_id=0,
    extended_media=[
            MessageMediaEmpty()
        ],
    subscription_period=0,
    giveaway_post_id=0,
    stargift=StarGift(
        limited=None,
        sold_out=None,
        birthday=None,
        require_premium=None,
        limited_per_user=None,
        peer_color_available=None,
        auction=None,
        id=0,
        sticker=DocumentEmpty(id=0),
        stars=0,
        availability_remains=None,
        availability_total=None,
        availability_resale=None,
        convert_stars=0,
        first_sale_date=None,
        last_sale_date=None,
        upgrade_stars=None,
        resell_min_stars=None,
        title=None,
        released_by=None,
        per_user_total=None,
        per_user_remains=None,
        locked_until_date=None,
        auction_slug=None,
        gifts_per_round=None,
        auction_start_date=None,
        upgrade_variants=None,
        background=None
    ),
    floodskip_number=0,
    starref_commission_permille=0,
    starref_peer=PeerUser(user_id=0),
    starref_amount=StarsAmount(
        amount=0,
        nanos=0
    ),
    paid_messages=0,
    premium_gift_months=0,
    ads_proceeds_from_date=0,
    ads_proceeds_to_date=0,
)