Interface GetChatRevenueStatistics

Returns detailed revenue statistics about a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true or bots if userFullInfo.bot_info.can_get_revenue_statistics == true. Request type for Tdjson#getChatRevenueStatistics.

interface GetChatRevenueStatistics {
    @type: "getChatRevenueStatistics";
    chat_id: number;
    is_dark?: boolean;
}

Properties

@type: "getChatRevenueStatistics"
chat_id: number

Chat identifier.

is_dark?: boolean

Pass true if a dark theme is used by the application.