Package it.tdlight.jni
Class TdApi.JoinChatByInviteLink
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.JoinChatByInviteLink
- Enclosing class:
- TdApi
public static class TdApi.JoinChatByInviteLink extends TdApi.Function
Uses an invite link to add the current
user to the chat if possible. The new
member will not be added until the
chat state has been synchronized with the server.
Returns Chat
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
inviteLink
Invite link to import; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/". -
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(DataOutputStream 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 import; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/". -
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. The new member will not be added until the chat state has been synchronized with the server.Returns
Chat
-
JoinChatByInviteLink
Uses an invite link to add the current user to the chat if possible. The new member will not be added until the chat state has been synchronized with the server.Returns
Chat
- Parameters:
inviteLink
- String Invite link to import; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".
-
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()
-