public static class TdApi.JoinChatByInviteLink extends TdApi.Function<TdApi.Chat>
Returns Chat
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
inviteLink
Invite link to use.
|
| Constructor and Description |
|---|
JoinChatByInviteLink()
Default constructor for a function, which uses an invite link to add the current user to the chat if possible.
|
JoinChatByInviteLink(java.lang.String inviteLink)
Creates a function, which uses an invite link to add the current user to the chat if possible.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String inviteLink
public static final int CONSTRUCTOR
public JoinChatByInviteLink()
Returns Chat
public JoinChatByInviteLink(java.lang.String inviteLink)
Returns Chat
inviteLink - Invite link to use.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object