get_stars_status()¶
- Client.get_stars_status()¶
Get the current Stars balance and subscription status.
Usable by Users Bots- Parameters:
peer (
int|str, optional) – Unique identifier (int) or username (str) of the peer to get status for. If not provided, gets your own Stars status.- Returns:
StarsStatus– The Stars status.
Example
# Get your own Stars status status = await app.get_stars_status() print(f"Balance: {status.balance}") # Get Stars status for a bot status = await app.get_stars_status("@mybot")