payments.getStarsSubscriptions

Obtain a list of active, expired or cancelled Telegram Star subscriptions ».

payments.starsStatus#bbfa316c flags:# balance:long 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;
---functions---
payments.getStarsSubscriptions#32512c5 flags:# missing_balance:flags.0?true peer:InputPeer offset:string = payments.StarsStatus;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
missing_balance flags.0?true Whether to return only expired subscriptions due to an excessively low Telegram Star balance.
peer InputPeer Always pass inputPeerSelf.
offset string Offset for pagination, taken from payments.starsStatus.

Result

payments.StarsStatus

Bots can use this method

Related pages

inputPeerSelf

Defines the current user.

payments.starsStatus

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

Invites

Chats and channels may have a public username or a private invite link: private invite links may be further enhanced with per-user join requests.