payments.GetStarsTransactionsByID
- class pyrogram.raw.functions.payments.GetStarsTransactionsByID
Obtain info about Telegram Star transactions » using specific transaction IDs.
- Details:
Layer:
223ID:
2DCA16B8
- Parameters:
peer (
InputPeer) – Channel or bot.id (List of
InputStarsTransaction) – Transaction IDs.ton (
bool, optional) – If set, returns channel/bot ad revenue transactions in nanotons.
- Returns:
TL Schema
payments.getStarsTransactionsByID#2dca16b8
flags:#
ton:flags.0?true
peer:InputPeer
id:Vector<InputStarsTransaction>
= payments.StarsStatus
Parameter Tree
GetStarsTransactionsByID
├── ton →
true (optional)├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── id →
Vector < InputStarsTransaction >├── refund →
true (optional)└── id →
stringExample
await app.invoke(
GetStarsTransactionsByID(
ton=None,
peer=await app.resolve_peer(chat_id),
id=[
InputStarsTransaction(
refund=None,
id="text"
)
],
)
)