public static class TdApi.SendChatAction extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
TdApi.ChatAction |
action
The action description.
|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
Constructor and Description |
---|
SendChatAction()
Default constructor for a function, which sends a notification about user activity in a chat.
|
SendChatAction(long chatId,
TdApi.ChatAction action)
Creates a function, which sends a notification about user activity in a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public TdApi.ChatAction action
public static final int CONSTRUCTOR
public SendChatAction()
Returns Ok
public SendChatAction(long chatId, TdApi.ChatAction action)
Returns Ok
chatId
- Chat identifier.action
- The action description.public int getConstructor()
getConstructor
in class TdApi.Function