public static class TdApi.CheckChatInviteLink extends TdApi.Function
Returns ChatInviteLinkInfo
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 be checked; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".
|
Constructor and Description |
---|
CheckChatInviteLink()
Default constructor for a function, which checks the validity of an invite link for a chat and returns information about the corresponding chat.
|
CheckChatInviteLink(java.lang.String inviteLink)
Creates a function, which checks the validity of an invite link for a chat and returns information about the corresponding chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String inviteLink
public static final int CONSTRUCTOR
public CheckChatInviteLink()
Returns ChatInviteLinkInfo
public CheckChatInviteLink(java.lang.String inviteLink)
Returns ChatInviteLinkInfo
inviteLink
- Invite link to be checked; should begin with "https://t.me/joinchat/", "https://telegram.me/joinchat/", or "https://telegram.dog/joinchat/".public int getConstructor()
getConstructor
in class TdApi.Function