Info about the current Telegram Star balance and transaction history ».
Constructor schema is available as of layer 186. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
balance | long | Current Telegram Star balance. |
history | Vector<StarsTransaction> | List of Telegram Star transactions (partial if next_offset is set). |
next_offset | flags.0?string | Offset to use to fetch more transactions from the transaction history using payments.getStarsTransactions. |
chats | Vector<Chat> | Chats mentioned in history . |
users | Vector<User> | Users mentioned in history . |
Fetch Telegram Stars transactions.
The inbound
and outbound
flags are mutually exclusive: if none of the two are set, both incoming and outgoing transactions are fetched.
Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.