payments.StarsStatus#

class pyrogram.raw.types.payments.StarsStatus#

Telegram API type.

Constructor of StarsStatus.

Details:
  • Layer: 224

  • ID: 6C9CE8ED

Parameters:
  • balance (StarsAmount) – N/A

  • chats (List of Chat) – N/A

  • users (List of User) – N/A

  • subscriptions (List of StarsSubscription, optional) – N/A

  • subscriptions_next_offset (str, optional) – N/A

  • subscriptions_missing_balance (int 64-bit, optional) – N/A

  • history (List of StarsTransaction, optional) – N/A

  • next_offset (str, optional) – N/A

Functions:

This object can be returned by 4 functions.

payments.GetStarsStatus

Get the current Telegram Stars balance of the current account (with peer=`inputPeerSelf <https://corefork.telegram.org/constructor/inputPeerSelf>`__), or the stars balance of the bot or channel specified in peer.

payments.GetStarsTransactions

Fetch Telegram Stars transactions.

payments.GetStarsTransactionsByID

Obtain info about Telegram Star transactions using specific transaction IDs.

payments.GetStarsSubscriptions

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