Raw.payments.GetStarsTransactions

Raw.payments.GetStarsTransactions

Fetch telegram stars transactions.

payments.getStarsTransactions#97938d5a flags:# inbound:flags.0?true outbound:flags.1?true ascending:flags.2?true 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;
        peer: Raw.TypeInputPeer;
        offset: string;
        limit: number;
      }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x97938d5a

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
  • 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

Results

Raw.payments.TypeStarsStatus

Bots can use