public static class TdApi.JoinChatByInviteLink extends TdApi.Function
Returns Chat
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function