Package it.tdlight.jni
Class TdApi.CheckChatInviteLink
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.CheckChatInviteLink
- Enclosing class:
- TdApi
public static class TdApi.CheckChatInviteLink extends TdApi.Function
Checks the validity of an invite link
for a chat and returns information
about the corresponding chat.
Returns ChatInviteLinkInfo
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
inviteLink
Invite link to be checked; must have URL "t.me", "telegram.me", or "telegram.dog" and query beginning with "/joinchat/" or "/+". -
Constructor Summary
Constructors Constructor Description CheckChatInviteLink()
Checks the validity of an invite link for a chat and returns information about the corresponding chat.CheckChatInviteLink(DataInput input)
CheckChatInviteLink(String inviteLink)
Checks the validity of an invite link for a chat and returns information about the corresponding chat. -
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 be checked; must have URL "t.me", "telegram.me", or "telegram.dog" and query beginning with "/joinchat/" or "/+". -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
CheckChatInviteLink
public CheckChatInviteLink()Checks the validity of an invite link for a chat and returns information about the corresponding chat.Returns
ChatInviteLinkInfo
-
CheckChatInviteLink
Checks the validity of an invite link for a chat and returns information about the corresponding chat.Returns
ChatInviteLinkInfo
- Parameters:
inviteLink
- String Invite link to be checked; must have URL "t.me", "telegram.me", or "telegram.dog" and query beginning with "/joinchat/" or "/+".
-
CheckChatInviteLink
- 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()
-