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; pass null to cancel the currently active action.
|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
messageThreadId
If not 0, a message thread identifier in which the action was performed.
|
Constructor and Description |
---|
SendChatAction()
Default constructor for a function, which sends a notification about user activity in a chat.
|
SendChatAction(long chatId,
long messageThreadId,
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 long messageThreadId
public TdApi.ChatAction action
public static final int CONSTRUCTOR
public SendChatAction()
Returns Ok
public SendChatAction(long chatId, long messageThreadId, TdApi.ChatAction action)
Returns Ok
chatId
- Chat identifier.messageThreadId
- If not 0, a message thread identifier in which the action was performed.action
- The action description; pass null to cancel the currently active action.public int getConstructor()
getConstructor
in class TdApi.Function