telegram api constructor · layer 229 · #6c9ce8ed

payments.starsStatus

Info about the current Telegram Star subscriptions, balance and transaction history ».

definition

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;

parameters

nametypedescription
flags#Flags, see TL conditional fields
balanceStarsAmountCurrent Telegram Star balance.
subscriptionsflags.1?Vector<StarsSubscription>Info about current Telegram Star subscriptions, only returned when invoking payments.getStarsTransactions and payments.getStarsSubscriptions.
subscriptions_next_offsetflags.2?stringOffset for pagination of subscriptions: only usable and returned when invoking payments.getStarsSubscriptions.
subscriptions_missing_balanceflags.4?longThe number of Telegram Stars the user should buy to be able to extend expired subscriptions soon (i.e. the current balance is not enough to extend all expired subscriptions).
historyflags.3?Vector<StarsTransaction>List of Telegram Star transactions (partial if next_offset is set).
next_offsetflags.0?stringOffset to use to fetch more transactions from the transaction history using payments.getStarsTransactions.
chatsVector<Chat>Chats mentioned in history.
usersVector<User>Users mentioned in history.

type

payments.StarsStatus

history

present in layers 181–229 · constructor id changed 2×

idlayers
#8cf4ee60181–185
#bbfa316c186–194
#6c9ce8ed195–229