Raw.BroadcastRevenueTransactionProceeds

Raw.BroadcastRevenueTransactionProceeds

Describes earnings from sponsored messages in a channel in some time frame, see here for more info.

broadcastRevenueTransactionProceeds#557e2cc4 amount:long from_date:int to_date:int = BroadcastRevenueTransaction;
export namespace Raw {
  export class BroadcastRevenueTransactionProceeds {
    constructor(params: { amount: bigint; fromDate: number; toDate: number }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x557e2cc4

Property

  • amount : bigint

    Amount in the smallest unit of the cryptocurrency.

  • fromDate : number

    Start unixtime for the timeframe.

  • toDate : number

    End unixtime for the timeframe.