payments.GetStarsStatus#
- class pyrogram.raw.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.
Usable by ✅ Users ❌ BotsNote
This method may be invoked over a business connection »
- Details:
Layer:
224ID:
4EA9B3BF
- Parameters:
peer (
InputPeer) – Peer of which to get the balance.ton (
bool, optional) – If set, returns the channel/ad revenue balance in nanotons.
- Returns: