Interface UpdateChatRevenueAmount

The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions. Subtype of Update.

interface UpdateChatRevenueAmount {
    @type: "updateChatRevenueAmount";
    chat_id: number;
    revenue_amount: ChatRevenueAmount;
}

Properties

@type: "updateChatRevenueAmount"
chat_id: number

Identifier of the chat.

revenue_amount: ChatRevenueAmount

New amount of earned revenue.