payments.getStarsTransactions
Fetch Telegram Stars transactions.
Fetch [Telegram Stars transactions](https://core.telegram.org/api/stars.md#balance-and-transaction-history).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
inbound | true | Nein | If set, fetches only incoming transactions. |
outbound | true | Nein | If set, fetches only outgoing transactions. |
ascending | true | Nein | Return transactions in ascending order by date (instead of descending order by date). |
ton | true | Nein | If set, returns the channel/ad revenue transactions in nanograms, instead. |
subscription_id | string | Nein | If set, fetches only transactions for the specified [Telegram Star subscription »](https://core.telegram.org/api/stars.md#star-subscriptions). |
peer | InputPeer | Ja | Fetch the transaction history of the peer ([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) or a bot we own). |
offset | string | Ja | [Offset for pagination, obtained from the returned `next_offset`, initially an empty string »](https://core.telegram.org/api/offsets.md). |
limit | int | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md) |
Antworten
payments.StarsStatus
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — Um dies zu tun, müssen Sie in diesem Chat Administrator sein.
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.
- 400 · SUBSCRIPTION_ID_INVALID – Die angegebene subscription_id ist ungültig.