Raw.payments.GetStarsTransactions

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 undefined

    If set, fetches only incoming transactions.

  • outbound : boolean or undefined

    If set, fetches only outgoing transactions.

  • ascending : boolean or undefined

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

  • subscriptionId : string or undefined

    If set, fetches only transactions for the specified telegram star subscription.

  • peer : Raw.TypeInputPeer

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

  • offset : string

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

  • limit : number

    Maximum number of results to return, see pagination

Results

Raw.payments.TypeStarsStatus

Bots can use