Raw.StarsTransaction

Raw.StarsTransaction

Represents a telegram stars transaction.

starsTransaction#2db5418f flags:# refund:flags.3?true pending:flags.4?true failed:flags.6?true gift:flags.10?true id:string stars:long date:int peer:StarsTransactionPeer title:flags.0?string description:flags.1?string photo:flags.2?WebDocument transaction_date:flags.5?int transaction_url:flags.5?string bot_payload:flags.7?bytes msg_id:flags.8?int extended_media:flags.9?Vector<MessageMedia> = StarsTransaction;
export namespace Raw {
  export class StarsTransaction {
    constructor(params: {
      refund?: boolean;
      pending?: boolean;
      failed?: boolean;
      gift?: boolean;
      id: string;
      stars: bigint;
      date: number;
      peer: Raw.TypeStarsTransactionPeer;
      title?: string;
      description?: string;
      photo?: Raw.TypeWebDocument;
      transactionDate?: number;
      transactionUrl?: string;
      botPayload?: Buffer;
      msgId?: number;
      extendedMedia?: Array<Raw.TypeMessageMedia>;
    }) {}
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0x2db5418f

Property