- Enclosing class:
- TdApi
Returns information about an invite
link. Requires administrator privileges
and canInviteUsers right in the chat
to get own links and owner privileges
to get other links.
Returns
ChatInviteLink-
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intInvite link to get. -
Constructor Summary
ConstructorsConstructorDescriptionReturns information about an invite link.GetChatInviteLink(long chatId, String inviteLink) Returns information about an invite link.GetChatInviteLink(DataInput input) Returns information about an invite link. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
inviteLink
Invite link to get. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetChatInviteLink
public GetChatInviteLink()Returns information about an invite link. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links. ReturnsChatInviteLink -
GetChatInviteLink
Returns information about an invite link. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links. ReturnsChatInviteLink- Parameters:
chatId- long Chat identifier.inviteLink- String Invite link to get.
-
GetChatInviteLink
Returns information about an invite link. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links. ReturnsChatInviteLink- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-