- Enclosing class:
- TdApi
Uses an invite link to add the current
user to the chat if possible. May
return an error with a message
"INVITE_REQUEST_SENT" if
only a join request was created.
Returns
Chat
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Invite link to use. -
Constructor Summary
ConstructorDescriptionUses an invite link to add the current user to the chat if possible.JoinChatByInviteLink
(DataInput input) Uses an invite link to add the current user to the chat if possible.JoinChatByInviteLink
(String inviteLink) Uses an invite link to add the current user to the chat if possible. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
inviteLink
Invite link to use. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
JoinChatByInviteLink
public JoinChatByInviteLink()Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. ReturnsChat
-
JoinChatByInviteLink
Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. ReturnsChat
- Parameters:
inviteLink
- String Invite link to use.
-
JoinChatByInviteLink
Uses an invite link to add the current user to the chat if possible. May return an error with a message "INVITE_REQUEST_SENT" if only a join request was created. ReturnsChat
- 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()
-