payments.StarsStatus
- class pyrogram.raw.base.payments.StarsStatus
Info about the current Telegram Star subscriptions, balance and transaction history ».
- Constructors:
This base type has 1 constructor available.
Info about the current Telegram Star subscriptions, balance and transaction history ».
- Functions:
This object can be returned by 4 functions.
Get the current Telegram Stars balance of the current account (with peer=inputPeerSelf), or the stars balance of the bot specified in peer.
Fetch Telegram Stars transactions.
Obtain info about Telegram Star transactions » using specific transaction IDs.
Obtain a list of active, expired or cancelled Telegram Star subscriptions ».
TL Schema
payments.starsStatus#6c9ce8ed
flags:#
balance:StarsAmount
subscriptions:flags.1?Vector<StarsSubscription>
subscriptions_next_offset:flags.2?string
subscriptions_missing_balance:flags.4?long
history:flags.3?Vector<StarsTransaction>
next_offset:flags.0?string
chats:Vector<Chat>
users:Vector<User>
= payments.StarsStatus
Parameter Tree
StarsStatus
├── balance →
StarsAmount│ ├──
StarsAmount│ │ ├── amount →
long│ │ └── nanos →
int│ └──
StarsTonAmount│ └── amount →
long├── subscriptions →
Vector < StarsSubscription > (optional)│ └──
StarsSubscription│ ├── canceled →
true (optional)│ ├── can_refulfill →
true (optional)│ ├── missing_balance →
true (optional)│ ├── bot_canceled →
true (optional)│ ├── id →
string│ ├── peer →
Peer│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── until_date →
int│ ├── pricing →
StarsSubscriptionPricing│ │ └──
StarsSubscriptionPricing│ │ ├── period →
int│ │ └── amount →
long│ ├── chat_invite_hash →
string (optional)│ ├── title →
string (optional)│ ├── 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│ └── invoice_slug →
string (optional)├── subscriptions_next_offset →
string (optional)├── subscriptions_missing_balance →
long (optional)├── history →
Vector < StarsTransaction > (optional)│ └──
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│ │ ├──
StarsTransactionPeerUnsupported│ │ ├──
StarsTransactionPeerAppStore│ │ ├──
StarsTransactionPeerPlayMarket│ │ ├──
StarsTransactionPeerPremiumBot│ │ ├──
StarsTransactionPeerFragment│ │ ├──
StarsTransactionPeer│ │ │ └── peer →
Peer│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├──
StarsTransactionPeerAds│ │ └──
StarsTransactionPeerAPI│ ├── title →
string (optional)│ ├── description →
string (optional)│ ├── 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│ ├── 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)│ │ │ ├── photo →
Photo (optional)│ │ │ │ ├──
PhotoEmpty│ │ │ │ └──
Photo│ │ │ └── ttl_seconds →
int (optional)│ │ ├──
MessageMediaGeo│ │ │ └── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ ├──
MessageMediaContact│ │ │ ├── phone_number →
string│ │ │ ├── first_name →
string│ │ │ ├── last_name →
string│ │ │ ├── vcard →
string│ │ │ └── user_id →
long│ │ ├──
MessageMediaUnsupported│ │ ├──
MessageMediaDocument│ │ │ ├── nopremium →
true (optional)│ │ │ ├── spoiler →
true (optional)│ │ │ ├── video →
true (optional)│ │ │ ├── round →
true (optional)│ │ │ ├── voice →
true (optional)│ │ │ ├── document →
Document (optional)│ │ │ │ ├──
DocumentEmpty│ │ │ │ └──
Document│ │ │ ├── alt_documents →
Vector < Document > (optional)│ │ │ │ ├──
DocumentEmpty│ │ │ │ └──
Document│ │ │ ├── video_cover →
Photo (optional)│ │ │ │ ├──
PhotoEmpty│ │ │ │ └──
Photo│ │ │ ├── video_timestamp →
int (optional)│ │ │ └── ttl_seconds →
int (optional)│ │ ├──
MessageMediaWebPage│ │ │ ├── force_large_media →
true (optional)│ │ │ ├── force_small_media →
true (optional)│ │ │ ├── manual →
true (optional)│ │ │ ├── safe →
true (optional)│ │ │ └── webpage →
WebPage│ │ │ ├──
WebPageEmpty│ │ │ ├──
WebPagePending│ │ │ ├──
WebPage│ │ │ └──
WebPageNotModified│ │ ├──
MessageMediaVenue│ │ │ ├── geo →
GeoPoint│ │ │ │ ├──
GeoPointEmpty│ │ │ │ └──
GeoPoint│ │ │ ├── title →
string│ │ │ ├── address →
string│ │ │ ├── provider →
string│ │ │ ├── venue_id →
string│ │ │ └── venue_type →
string│ │ ├──
MessageMediaGame│ │ │ └── game →
Game│ │ │ └──
Game│ │ ├──
MessageMediaInvoice│ │ │ ├── shipping_address_requested →
true (optional)│ │ │ ├── test →
true (optional)│ │ │ ├── title →
string│ │ │ ├── description →
string│ │ │ ├── photo →
WebDocument (optional)│ │ │ │ ├──
WebDocument│ │ │ │ └──
WebDocumentNoProxy│ │ │ ├── receipt_msg_id →
int (optional)│ │ │ ├── currency →
string│ │ │ ├── total_amount →
long│ │ │ ├── start_param →
string│ │ │ └── extended_media →
MessageExtendedMedia (optional)│ │ │ ├──
MessageExtendedMediaPreview│ │ │ └──
MessageExtendedMedia│ │ ├──
MessageMediaGeoLive│ │ │ ├── geo →
GeoPoint│ │ │ │ ├──
GeoPointEmpty│ │ │ │ └──
GeoPoint│ │ │ ├── heading →
int (optional)│ │ │ ├── period →
int│ │ │ └── proximity_notification_radius →
int (optional)│ │ ├──
MessageMediaPoll│ │ │ ├── poll →
Poll│ │ │ │ └──
Poll│ │ │ └── results →
PollResults│ │ │ └──
PollResults│ │ ├──
MessageMediaDice│ │ │ ├── value →
int│ │ │ ├── emoticon →
string│ │ │ └── game_outcome →
messages.EmojiGameOutcome (optional)│ │ │ └──
messages.EmojiGameOutcome│ │ ├──
MessageMediaStory│ │ │ ├── via_mention →
true (optional)│ │ │ ├── peer →
Peer│ │ │ │ ├──
PeerUser│ │ │ │ ├──
PeerChat│ │ │ │ └──
PeerChannel│ │ │ ├── id →
int│ │ │ └── story →
StoryItem (optional)│ │ │ ├──
StoryItemDeleted│ │ │ ├──
StoryItemSkipped│ │ │ └──
StoryItem│ │ ├──
MessageMediaGiveaway│ │ │ ├── only_new_subscribers →
true (optional)│ │ │ ├── winners_are_visible →
true (optional)│ │ │ ├── channels →
Vector < long >│ │ │ ├── countries_iso2 →
Vector < string > (optional)│ │ │ ├── prize_description →
string (optional)│ │ │ ├── quantity →
int│ │ │ ├── months →
int (optional)│ │ │ ├── stars →
long (optional)│ │ │ └── until_date →
int│ │ ├──
MessageMediaGiveawayResults│ │ │ ├── only_new_subscribers →
true (optional)│ │ │ ├── refunded →
true (optional)│ │ │ ├── channel_id →
long│ │ │ ├── additional_peers_count →
int (optional)│ │ │ ├── launch_msg_id →
int│ │ │ ├── winners_count →
int│ │ │ ├── unclaimed_count →
int│ │ │ ├── winners →
Vector < long >│ │ │ ├── months →
int (optional)│ │ │ ├── stars →
long (optional)│ │ │ ├── prize_description →
string (optional)│ │ │ └── until_date →
int│ │ ├──
MessageMediaPaidMedia│ │ │ ├── stars_amount →
long│ │ │ └── extended_media →
Vector < MessageExtendedMedia >│ │ │ ├──
MessageExtendedMediaPreview│ │ │ └──
MessageExtendedMedia│ │ ├──
MessageMediaToDo│ │ │ ├── todo →
TodoList│ │ │ │ └──
TodoList│ │ │ └── completions →
Vector < TodoCompletion > (optional)│ │ │ └──
TodoCompletion│ │ └──
MessageMediaVideoStream│ │ ├── rtmp_stream →
true (optional)│ │ └── call →
InputGroupCall│ │ ├──
InputGroupCall│ │ ├──
InputGroupCallSlug│ │ └──
InputGroupCallInviteMessage│ ├── 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│ │ │ │ └──
Document│ │ │ ├── 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│ │ │ │ ├──
PeerChat│ │ │ │ └──
PeerChannel│ │ │ ├── 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│ │ └──
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│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── owner_name →
string (optional)│ │ ├── owner_address →
string (optional)│ │ ├── attributes →
Vector < StarGiftAttribute >│ │ │ ├──
StarGiftAttributeModel│ │ │ ├──
StarGiftAttributePattern│ │ │ ├──
StarGiftAttributeBackdrop│ │ │ └──
StarGiftAttributeOriginalDetails│ │ ├── availability_issued →
int│ │ ├── availability_total →
int│ │ ├── gift_address →
string (optional)│ │ ├── resell_amount →
Vector < StarsAmount > (optional)│ │ │ ├──
StarsAmount│ │ │ └──
StarsTonAmount│ │ ├── released_by →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── value_amount →
long (optional)│ │ ├── value_currency →
string (optional)│ │ ├── value_usd_amount →
long (optional)│ │ ├── theme_peer →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── peer_color →
PeerColor (optional)│ │ │ ├──
PeerColor│ │ │ ├──
PeerColorCollectible│ │ │ └──
InputPeerColorCollectible│ │ ├── host_id →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── 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)├── next_offset →
string (optional)├── chats →
Vector < Chat >│ ├──
ChatEmpty│ │ └── id →
long│ ├──
Chat│ │ ├── creator →
true (optional)│ │ ├── left →
true (optional)│ │ ├── deactivated →
true (optional)│ │ ├── call_active →
true (optional)│ │ ├── call_not_empty →
true (optional)│ │ ├── noforwards →
true (optional)│ │ ├── id →
long│ │ ├── title →
string│ │ ├── photo →
ChatPhoto│ │ │ ├──
ChatPhotoEmpty│ │ │ └──
ChatPhoto│ │ │ ├── has_video →
true (optional)│ │ │ ├── photo_id →
long│ │ │ ├── stripped_thumb →
bytes (optional)│ │ │ └── dc_id →
int│ │ ├── participants_count →
int│ │ ├── date →
int│ │ ├── version →
int│ │ ├── migrated_to →
InputChannel (optional)│ │ │ ├──
InputChannelEmpty│ │ │ ├──
InputChannel│ │ │ └──
InputChannelFromMessage│ │ ├── admin_rights →
ChatAdminRights (optional)│ │ │ └──
ChatAdminRights│ │ │ ├── change_info →
true (optional)│ │ │ ├── post_messages →
true (optional)│ │ │ ├── edit_messages →
true (optional)│ │ │ ├── delete_messages →
true (optional)│ │ │ ├── ban_users →
true (optional)│ │ │ ├── invite_users →
true (optional)│ │ │ ├── pin_messages →
true (optional)│ │ │ ├── add_admins →
true (optional)│ │ │ ├── anonymous →
true (optional)│ │ │ ├── manage_call →
true (optional)│ │ │ ├── other →
true (optional)│ │ │ ├── manage_topics →
true (optional)│ │ │ ├── post_stories →
true (optional)│ │ │ ├── edit_stories →
true (optional)│ │ │ ├── delete_stories →
true (optional)│ │ │ ├── manage_direct_messages →
true (optional)│ │ │ └── manage_ranks →
true (optional)│ │ └── default_banned_rights →
ChatBannedRights (optional)│ │ └──
ChatBannedRights│ │ ├── view_messages →
true (optional)│ │ ├── send_messages →
true (optional)│ │ ├── send_media →
true (optional)│ │ ├── send_stickers →
true (optional)│ │ ├── send_gifs →
true (optional)│ │ ├── send_games →
true (optional)│ │ ├── send_inline →
true (optional)│ │ ├── embed_links →
true (optional)│ │ ├── send_polls →
true (optional)│ │ ├── change_info →
true (optional)│ │ ├── invite_users →
true (optional)│ │ ├── pin_messages →
true (optional)│ │ ├── manage_topics →
true (optional)│ │ ├── send_photos →
true (optional)│ │ ├── send_videos →
true (optional)│ │ ├── send_roundvideos →
true (optional)│ │ ├── send_audios →
true (optional)│ │ ├── send_voices →
true (optional)│ │ ├── send_docs →
true (optional)│ │ ├── send_plain →
true (optional)│ │ ├── edit_rank →
true (optional)│ │ └── until_date →
int│ ├──
ChatForbidden│ │ ├── id →
long│ │ └── title →
string│ ├──
Channel│ │ ├── creator →
true (optional)│ │ ├── left →
true (optional)│ │ ├── broadcast →
true (optional)│ │ ├── verified →
true (optional)│ │ ├── megagroup →
true (optional)│ │ ├── restricted →
true (optional)│ │ ├── signatures →
true (optional)│ │ ├── min →
true (optional)│ │ ├── scam →
true (optional)│ │ ├── has_link →
true (optional)│ │ ├── has_geo →
true (optional)│ │ ├── slowmode_enabled →
true (optional)│ │ ├── call_active →
true (optional)│ │ ├── call_not_empty →
true (optional)│ │ ├── fake →
true (optional)│ │ ├── gigagroup →
true (optional)│ │ ├── noforwards →
true (optional)│ │ ├── join_to_send →
true (optional)│ │ ├── join_request →
true (optional)│ │ ├── forum →
true (optional)│ │ ├── stories_hidden →
true (optional)│ │ ├── stories_hidden_min →
true (optional)│ │ ├── stories_unavailable →
true (optional)│ │ ├── signature_profiles →
true (optional)│ │ ├── autotranslation →
true (optional)│ │ ├── broadcast_messages_allowed →
true (optional)│ │ ├── monoforum →
true (optional)│ │ ├── forum_tabs →
true (optional)│ │ ├── id →
long│ │ ├── access_hash →
long (optional)│ │ ├── title →
string│ │ ├── username →
string (optional)│ │ ├── photo →
ChatPhoto│ │ │ ├──
ChatPhotoEmpty│ │ │ └──
ChatPhoto│ │ │ ├── has_video →
true (optional)│ │ │ ├── photo_id →
long│ │ │ ├── stripped_thumb →
bytes (optional)│ │ │ └── dc_id →
int│ │ ├── date →
int│ │ ├── restriction_reason →
Vector < RestrictionReason > (optional)│ │ │ └──
RestrictionReason│ │ │ ├── platform →
string│ │ │ ├── reason →
string│ │ │ └── text →
string│ │ ├── admin_rights →
ChatAdminRights (optional)│ │ │ └──
ChatAdminRights│ │ │ ├── change_info →
true (optional)│ │ │ ├── post_messages →
true (optional)│ │ │ ├── edit_messages →
true (optional)│ │ │ ├── delete_messages →
true (optional)│ │ │ ├── ban_users →
true (optional)│ │ │ ├── invite_users →
true (optional)│ │ │ ├── pin_messages →
true (optional)│ │ │ ├── add_admins →
true (optional)│ │ │ ├── anonymous →
true (optional)│ │ │ ├── manage_call →
true (optional)│ │ │ ├── other →
true (optional)│ │ │ ├── manage_topics →
true (optional)│ │ │ ├── post_stories →
true (optional)│ │ │ ├── edit_stories →
true (optional)│ │ │ ├── delete_stories →
true (optional)│ │ │ ├── manage_direct_messages →
true (optional)│ │ │ └── manage_ranks →
true (optional)│ │ ├── banned_rights →
ChatBannedRights (optional)│ │ │ └──
ChatBannedRights│ │ │ ├── view_messages →
true (optional)│ │ │ ├── send_messages →
true (optional)│ │ │ ├── send_media →
true (optional)│ │ │ ├── send_stickers →
true (optional)│ │ │ ├── send_gifs →
true (optional)│ │ │ ├── send_games →
true (optional)│ │ │ ├── send_inline →
true (optional)│ │ │ ├── embed_links →
true (optional)│ │ │ ├── send_polls →
true (optional)│ │ │ ├── change_info →
true (optional)│ │ │ ├── invite_users →
true (optional)│ │ │ ├── pin_messages →
true (optional)│ │ │ ├── manage_topics →
true (optional)│ │ │ ├── send_photos →
true (optional)│ │ │ ├── send_videos →
true (optional)│ │ │ ├── send_roundvideos →
true (optional)│ │ │ ├── send_audios →
true (optional)│ │ │ ├── send_voices →
true (optional)│ │ │ ├── send_docs →
true (optional)│ │ │ ├── send_plain →
true (optional)│ │ │ ├── edit_rank →
true (optional)│ │ │ └── until_date →
int│ │ ├── default_banned_rights →
ChatBannedRights (optional)│ │ │ └──
ChatBannedRights│ │ │ ├── view_messages →
true (optional)│ │ │ ├── send_messages →
true (optional)│ │ │ ├── send_media →
true (optional)│ │ │ ├── send_stickers →
true (optional)│ │ │ ├── send_gifs →
true (optional)│ │ │ ├── send_games →
true (optional)│ │ │ ├── send_inline →
true (optional)│ │ │ ├── embed_links →
true (optional)│ │ │ ├── send_polls →
true (optional)│ │ │ ├── change_info →
true (optional)│ │ │ ├── invite_users →
true (optional)│ │ │ ├── pin_messages →
true (optional)│ │ │ ├── manage_topics →
true (optional)│ │ │ ├── send_photos →
true (optional)│ │ │ ├── send_videos →
true (optional)│ │ │ ├── send_roundvideos →
true (optional)│ │ │ ├── send_audios →
true (optional)│ │ │ ├── send_voices →
true (optional)│ │ │ ├── send_docs →
true (optional)│ │ │ ├── send_plain →
true (optional)│ │ │ ├── edit_rank →
true (optional)│ │ │ └── until_date →
int│ │ ├── participants_count →
int (optional)│ │ ├── usernames →
Vector < Username > (optional)│ │ │ └──
Username│ │ │ ├── editable →
true (optional)│ │ │ ├── active →
true (optional)│ │ │ └── username →
string│ │ ├── stories_max_id →
RecentStory (optional)│ │ │ └──
RecentStory│ │ │ ├── live →
true (optional)│ │ │ └── max_id →
int (optional)│ │ ├── 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│ │ ├── profile_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│ │ ├── emoji_status →
EmojiStatus (optional)│ │ │ ├──
EmojiStatusEmpty│ │ │ ├──
EmojiStatus│ │ │ │ ├── document_id →
long│ │ │ │ └── until →
int (optional)│ │ │ ├──
EmojiStatusCollectible│ │ │ │ ├── collectible_id →
long│ │ │ │ ├── document_id →
long│ │ │ │ ├── title →
string│ │ │ │ ├── slug →
string│ │ │ │ ├── pattern_document_id →
long│ │ │ │ ├── center_color →
int│ │ │ │ ├── edge_color →
int│ │ │ │ ├── pattern_color →
int│ │ │ │ ├── text_color →
int│ │ │ │ └── until →
int (optional)│ │ │ └──
InputEmojiStatusCollectible│ │ │ ├── collectible_id →
long│ │ │ └── until →
int (optional)│ │ ├── level →
int (optional)│ │ ├── subscription_until_date →
int (optional)│ │ ├── bot_verification_icon →
long (optional)│ │ ├── send_paid_messages_stars →
long (optional)│ │ └── linked_monoforum_id →
long (optional)│ └──
ChannelForbidden│ ├── broadcast →
true (optional)│ ├── megagroup →
true (optional)│ ├── monoforum →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── title →
string│ └── until_date →
int (optional)└── users →
Vector < User >├──
UserEmpty│ └── id →
long└──
User├── is_self →
true (optional)├── contact →
true (optional)├── mutual_contact →
true (optional)├── deleted →
true (optional)├── bot →
true (optional)├── bot_chat_history →
true (optional)├── bot_nochats →
true (optional)├── verified →
true (optional)├── restricted →
true (optional)├── min →
true (optional)├── bot_inline_geo →
true (optional)├── support →
true (optional)├── scam →
true (optional)├── apply_min_photo →
true (optional)├── fake →
true (optional)├── bot_attach_menu →
true (optional)├── premium →
true (optional)├── attach_menu_enabled →
true (optional)├── bot_can_edit →
true (optional)├── close_friend →
true (optional)├── stories_hidden →
true (optional)├── stories_unavailable →
true (optional)├── contact_require_premium →
true (optional)├── bot_business →
true (optional)├── bot_has_main_app →
true (optional)├── bot_forum_view →
true (optional)├── bot_forum_can_manage_topics →
true (optional)├── id →
long├── access_hash →
long (optional)├── first_name →
string (optional)├── last_name →
string (optional)├── username →
string (optional)├── phone →
string (optional)├── photo →
UserProfilePhoto (optional)│ ├──
UserProfilePhotoEmpty│ └──
UserProfilePhoto│ ├── has_video →
true (optional)│ ├── personal →
true (optional)│ ├── photo_id →
long│ ├── stripped_thumb →
bytes (optional)│ └── dc_id →
int├── status →
UserStatus (optional)│ ├──
UserStatusEmpty│ ├──
UserStatusOnline│ │ └── expires →
int│ ├──
UserStatusOffline│ │ └── was_online →
int│ ├──
UserStatusRecently│ │ └── by_me →
true (optional)│ ├──
UserStatusLastWeek│ │ └── by_me →
true (optional)│ └──
UserStatusLastMonth│ └── by_me →
true (optional)├── bot_info_version →
int (optional)├── restriction_reason →
Vector < RestrictionReason > (optional)│ └──
RestrictionReason│ ├── platform →
string│ ├── reason →
string│ └── text →
string├── bot_inline_placeholder →
string (optional)├── lang_code →
string (optional)├── emoji_status →
EmojiStatus (optional)│ ├──
EmojiStatusEmpty│ ├──
EmojiStatus│ │ ├── document_id →
long│ │ └── until →
int (optional)│ ├──
EmojiStatusCollectible│ │ ├── collectible_id →
long│ │ ├── document_id →
long│ │ ├── title →
string│ │ ├── slug →
string│ │ ├── pattern_document_id →
long│ │ ├── center_color →
int│ │ ├── edge_color →
int│ │ ├── pattern_color →
int│ │ ├── text_color →
int│ │ └── until →
int (optional)│ ├── collectible_id →
long│ └── until →
int (optional)├── usernames →
Vector < Username > (optional)│ └──
Username│ ├── editable →
true (optional)│ ├── active →
true (optional)│ └── username →
string├── stories_max_id →
RecentStory (optional)│ └──
RecentStory│ ├── live →
true (optional)│ └── max_id →
int (optional)├── 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)│ └── collectible_id →
long├── profile_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)│ └── collectible_id →
long├── bot_active_users →
int (optional)├── bot_verification_icon →
long (optional)└── send_paid_messages_stars →
long (optional)Example
StarsStatus(
balance=StarsAmount(
amount=0,
nanos=0
),
subscriptions=[
StarsSubscription(
canceled=None,
can_refulfill=None,
missing_balance=None,
bot_canceled=None,
id="text",
peer=PeerUser(user_id=0),
until_date=0,
pricing=StarsSubscriptionPricing(
period=0,
amount=0
),
chat_invite_hash=None,
title=None,
photo=None,
invoice_slug=None
)
],
subscriptions_next_offset="text",
subscriptions_missing_balance=0,
history=[
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=None,
description=None,
photo=None,
transaction_date=None,
transaction_url=None,
bot_payload=None,
msg_id=None,
extended_media=None,
subscription_period=None,
giveaway_post_id=None,
stargift=None,
floodskip_number=None,
starref_commission_permille=None,
starref_peer=None,
starref_amount=None,
paid_messages=None,
premium_gift_months=None,
ads_proceeds_from_date=None,
ads_proceeds_to_date=None
)
],
next_offset="text",
chats=[
ChatEmpty(id=0)
],
users=[
UserEmpty(id=0)
],
)