Function iterStarsTransactions
- iterStarsTransactions(client, peerId, params?): AsyncIterableIterator<StarsTransaction>
Parameters
- client: ITelegramClient
- peerId: InputPeerLike
Optional
params: {
direction?: "incoming" | "outgoing";
limit?: number;
offset?: string;
sort?: "asc" | "desc";
subscriptionId?: string;
} & {
chunkSize?: number;
limit?: number;
}
Iterate over Telegram Stars transactions for a given peer.
You can either pass
self
to get your own transactions, or a chat/bot ID to get transactions of that peer.Wrapper over getStarsTransactions