- Enclosing class:
- TdApi
Adds the current user as a new member
to a chat. Private and secret chats
can't be joined using this method.
Returns
Ok
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
JoinChat
public JoinChat()Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method. ReturnsOk
-
JoinChat
public JoinChat(long chatId) Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method. ReturnsOk
- Parameters:
chatId
- long Chat identifier.
-
JoinChat
Adds the current user as a new member to a chat. Private and secret chats can't be joined using this method. ReturnsOk
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-