Interface ChatRevenueTransactionTypeSponsoredMessageEarnings

Describes earnings from sponsored messages in a chat in some time frame. Subtype of ChatRevenueTransactionType.

interface ChatRevenueTransactionTypeSponsoredMessageEarnings {
    @type: "chatRevenueTransactionTypeSponsoredMessageEarnings";
    end_date: number;
    start_date: number;
}

Properties

@type: "chatRevenueTransactionTypeSponsoredMessageEarnings"
end_date: number

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

start_date: number

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