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 undefinedWhether the withdrawal is currently pending
failed
: boolean or undefinedWhether the withdrawal has failed
amount
: bigintAmount withdrawn
date
: numberWithdrawal date
provider
: stringPayment provider name
transactionDate
: number or undefinedIf 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 undefinedIf 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.