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.
Method schema is available as of layer 182. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
inbound | flags.0?true | If set, fetches only incoming transactions. |
outbound | flags.1?true | If set, fetches only outgoing transactions. |
ascending | flags.2?true | Return transactions in ascending order by date (instead of descending order by date). |
subscription_id | flags.3?string | If set, fetches only transactions for the specified Telegram Star subscription ». |
peer | InputPeer | Fetch the transaction history of the peer (inputPeerSelf or a bot we own). |
offset | string | Offset for pagination, obtained from the returned next_offset , initially an empty string ». |
limit | int | Maximum number of results to return, see pagination |
Code | Type | Description |
---|---|---|
400 | CHAT_ADMIN_REQUIRED | You must be an admin in this chat to do this. |
400 | PEER_ID_INVALID | The provided peer id is invalid. |
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.
Defines the current user.
How to fetch results from large lists of objects.