payments.getStarsTransactions
获取 Telegram Stars 交易。
获取[Telegram Stars 交易](https://core.telegram.org/api/stars.md#balance-and-transaction-history)。
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
inbound | true | 否 | 如果设置,则仅获取传入交易。 |
outbound | true | 否 | 如果设置,则仅获取传出交易。 |
ascending | true | 否 | 按日期升序返回交易(而不是按日期降序)。 |
ton | true | 否 | 如果设置,则返回以纳克为单位的频道/广告收入交易。 |
subscription_id | string | 否 | 如果设置,则仅获取指定 [Telegram Star 订阅 »](https://core.telegram.org/api/stars.md#star-subscriptions) 的交易。 |
peer | InputPeer | 是的 | 获取对等方的交易历史记录([inputPeerSelf](https://core.telegram.org/constructor/inputPeerSelf.md) 或我们拥有的机器人)。 |
offset | string | 是的 | [分页偏移量,从返回的`next_offset`获得,最初为空字符串»](https://core.telegram.org/api/offsets.md)。 |
limit | int | 是的 | 返回结果的最大数量,[参见分页](https://core.telegram.org/api/offsets.md) |
回应
payments.StarsStatus
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — 您必须是此聊天的管理员才能执行此操作。
- 400 · PEER_ID_INVALID — 提供的对等 ID 无效。
- 400 · SUBSCRIPTION_ID_INVALID — 指定的subscription_id无效。