public static class TdApi.UpdateChatRevenueAmount extends TdApi.Update
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.ChatRevenueAmount |
revenueAmount
New amount of earned revenue.
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.ChatRevenueAmount revenueAmount
public static final int CONSTRUCTOR
public UpdateChatRevenueAmount()
public UpdateChatRevenueAmount(long chatId,
TdApi.ChatRevenueAmount revenueAmount)
chatId - Identifier of the chat.revenueAmount - New amount of earned revenue.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object