Class TdApi.UpdateChatRevenueAmount
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateChatRevenueAmount
- Enclosing class:
- TdApi
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 Summary
Modifier and TypeFieldDescriptionlong
Identifier of the chat.static final int
Identifier uniquely determining type of the object.New amount of earned revenue. -
Constructor Summary
ConstructorDescriptionThe 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 TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
chatId
public long chatIdIdentifier of the chat. -
revenueAmount
New amount of earned revenue. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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
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 classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-