payments.GetStarsTransactions#

class pyrogram.raw.functions.payments.GetStarsTransactions#

Fetch Telegram Stars transactions. The inbound and outbound flags are mutually exclusive: if none of the two are set, both incoming and outgoing transactions are fetched.

Details:
  • Layer: 211

  • ID: 69DA4557

Parameters:
peer (InputPeer):

Fetch the transaction history of the peer (inputPeerSelf or a bot we own).

offset (str):

Offset for pagination, obtained from the returned next_offset, initially an empty string ».

limit (int 32-bit):

Maximum number of results to return, see pagination

inbound (bool, optional):

If set, fetches only incoming transactions.

outbound (bool, optional):

If set, fetches only outgoing transactions.

ascending (bool, optional):

Return transactions in ascending order by date (instead of descending order by date).

ton (bool, optional):

subscription_id (str, optional):

If set, fetches only transactions for the specified Telegram Star subscription ».

Returns:

payments.StarsStatus