Raw.payments.GetStarsTransactions
Fetch telegram stars transactions.
payments.getStarsTransactions#69da4557 flags:# inbound:flags.0?true outbound:flags.1?true ascending:flags.2?true subscription_id:flags.3?string peer:InputPeer offset:string limit:int = payments.StarsStatus;
export namespace Raw {
export namespace payments {
export class GetStarsTransactions {
constructor(params: {
inbound?: boolean;
outbound?: boolean;
ascending?: boolean;
subscriptionId?: string;
peer: Raw.TypeInputPeer;
offset: string;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 198
Constructor ID: 0x69da4557
Property
inbound
: boolean or undefinedIf set, fetches only incoming transactions.
outbound
: boolean or undefinedIf set, fetches only outgoing transactions.
ascending
: boolean or undefinedReturn transactions in ascending order by date (instead of descending order by date).
subscriptionId
: string or undefinedIf set, fetches only transactions for the specified telegram star subscription.
peer
: Raw.TypeInputPeerFetch the transaction history of the peer (inputpeerself or a bot we own).
offset
: stringOffset for pagination, obtained from the returned nextOffset, initially an empty string.
limit
: numberMaximum number of results to return, see pagination