payments.GetStarsStatus

class pyrogram.raw.functions.payments.GetStarsStatus[source]

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

Usable by Users Bots
Details:
  • Layer: 229

  • ID: 4EA9B3BF

Parameters:
  • peer (InputPeer) – Peer of which to get the balance.

  • ton (bool, optional) – If set, returns the channel/ad revenue balance in nanograms.

Returns:

payments.StarsStatus