Class TdApi.UpdateChatRevenueAmount

Enclosing class:
TdApi

public static class TdApi.UpdateChatRevenueAmount extends TdApi.Update
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.
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat.
    • revenueAmount

      public TdApi.ChatRevenueAmount revenueAmount
      New amount of earned revenue.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • UpdateChatRevenueAmount

      public 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.
    • UpdateChatRevenueAmount

      public UpdateChatRevenueAmount(long chatId, TdApi.ChatRevenueAmount revenueAmount)
      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.
      Parameters:
      chatId - Identifier of the chat.
      revenueAmount - New amount of earned revenue.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR