payments.StarsStatus#

class pyrogram.raw.types.payments.StarsStatus#

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

Constructor of StarsStatus.

Details:
  • Layer: 187

  • ID: BBFA316C

Parameters:
  • balance (int 64-bit) – Current Telegram Star balance.

  • chats (List of Chat) – Chats mentioned in history.

  • users (List of User) – Users mentioned in history.

  • 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) – List of Telegram Star transactions (partial if next_offset is set).

  • next_offset (str, optional) – Offset to use to fetch more transactions from the transaction history using payments.getStarsTransactions.

Functions:

This object can be returned by 4 functions.

payments.GetStarsStatus

Get the current Telegram Stars balance of the current account (with peer=inputPeerSelf), or the stars balance of the bot specified in peer.

payments.GetStarsTransactions

Fetch Telegram Stars transactions.

payments.GetStarsTransactionsByID

Obtain info about Telegram Star transactions » using specific transaction IDs.

payments.GetStarsSubscriptions

Details: