public static class TdApi.JoinChat extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
Constructor and Description |
---|
JoinChat()
Default constructor for a function, which adds current user as a new member to a chat.
|
JoinChat(long chatId)
Creates a function, which adds current user as a new member to a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public static final int CONSTRUCTOR
public JoinChat()
Returns Ok
public JoinChat(long chatId)
Returns Ok
chatId
- Chat identifier.public int getConstructor()
getConstructor
in class TdApi.Function