Interface ChatRevenueTransactionTypeEarnings

Describes type of transaction for revenue earned from sponsored messages in a chat. Subtype of ChatRevenueTransactionType.

interface ChatRevenueTransactionTypeEarnings {
    @type: "chatRevenueTransactionTypeEarnings";
    end_date: number;
    start_date: number;
}

Properties

@type: "chatRevenueTransactionTypeEarnings"
end_date: number

Point in time (Unix timestamp) when the earnings ended.

start_date: number

Point in time (Unix timestamp) when the earnings started.