Package it.tdlight.jni
Class TdApi.JoinChatByInviteLink
- Enclosing class:
- TdApi
public static class TdApi.JoinChatByInviteLink extends TdApi.Function<TdApi.Chat>
Uses an invite link to add the current
user to the chat if possible.
Returns Chat
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
inviteLink
Invite link to use. -
Constructor Summary
Constructors Constructor Description JoinChatByInviteLink()
Uses an invite link to add the current user to the chat if possible.JoinChatByInviteLink(DataInput input)
JoinChatByInviteLink(String inviteLink)
Uses an invite link to add the current user to the chat if possible. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
Constructor Details
-
JoinChatByInviteLink
public JoinChatByInviteLink()Uses an invite link to add the current user to the chat if possible.Returns
Chat
-
JoinChatByInviteLink
Uses an invite link to add the current user to the chat if possible.Returns
Chat
- Parameters:
inviteLink
- String Invite link to use.
-
JoinChatByInviteLink
- 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()
-