Package org.drinkless.tdlib

# Class TdApi.UpdateChatRevenueAmount

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.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.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Update

  `TdApi.Update.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `long`
  `chatId`
  Identifier of the chat.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `TdApi.ChatRevenueAmount`
  `revenueAmount`
  New amount of earned revenue.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UpdateChatRevenueAmount()`
  The revenue earned from sponsored messages in a chat has changed.
  `UpdateChatRevenueAmount(long chatId, TdApi.ChatRevenueAmount revenueAmount)`
  The revenue earned from sponsored messages in a chat has changed.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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:
      - Constant Field Values

- ## 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.Update`
    Returns:
      this.CONSTRUCTOR