Raw.BroadcastRevenueTransactionWithdrawal

Raw.BroadcastRevenueTransactionWithdrawal

Describes a withdrawal of ad earnings

broadcastRevenueTransactionWithdrawal#5a590978 flags:# pending:flags.0?true failed:flags.2?true amount:long date:int provider:string transaction_date:flags.1?int transaction_url:flags.1?string = BroadcastRevenueTransaction;
export namespace Raw {
  export class BroadcastRevenueTransactionWithdrawal {
    constructor(params: {
      pending?: boolean;
      failed?: boolean;
      amount: bigint;
      date: number;
      provider: string;
      transactionDate?: number;
      transactionUrl?: string;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x5a590978

Property

  • pending : boolean or undefined

    Whether the withdrawal is currently pending

  • failed : boolean or undefined

    Whether the withdrawal has failed

  • amount : bigint

    Amount withdrawn

  • date : number

    Withdrawal date

  • provider : string

    Payment provider name

  • transactionDate : number or undefined

    If neither pending nor failed are set, the transaction was completed successfully, and this field will contain the point in time (unix timestamp) when the withdrawal was completed successfully.

  • transactionUrl : string or undefined

    If neither pending nor failed are set, the transaction was completed successfully, and this field will contain a url where the withdrawal transaction can be viewed.