payments.getStarsTransactions
Fetch Telegram Stars transactions.
Fetch [Telegram Stars transactions](https://core.telegram.org/api/stars.md#balance-and-transaction-history).
| Name | Type | Required | Description |
|---|---|---|---|
inbound | true | No | If set, fetches only incoming transactions. |
outbound | true | No | If set, fetches only outgoing transactions. |
ascending | true | No | Return transactions in ascending order by date (instead of descending order by date). |
ton | true | No | If set, returns the channel/ad revenue transactions in nanograms, instead. |
subscription_id | string | No | If set, fetches only transactions for the specified [Telegram Star subscription »](https://core.telegram.org/api/stars.md#star-subscriptions). |
peer | InputPeer | Yes | Fetch the transaction history of the peer ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) or a bot we own). |
offset | string | Yes | [Offset for pagination, obtained from the returned `next_offset`, initially an empty string »](https://core.telegram.org/api/offsets.md). |
limit | int | Yes | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
Responses
payments.StarsStatus
MTProto RPC
- 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.
- 400 · SUBSCRIPTION_ID_INVALID — The specified subscription_id is invalid.