- Enclosing class:
- TdApi
Returns invite links for a chat created
by specified administrator. Requires
administrator privileges and canInviteUsers
right in the chat to get own links
and owner privileges to get other links.
Returns
ChatInviteLinks
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
long
User identifier of a chat administrator.boolean
Pass true if revoked links needs to be returned instead of active or expired.int
The maximum number of invite links to return; up to 100.int
Creation date of an invite link starting after which to return invite links; use 0 to get results from the beginning.Invite link starting after which to return invite links; use empty string to get results from the beginning. -
Constructor Summary
ConstructorDescriptionReturns invite links for a chat created by specified administrator.GetChatInviteLinks
(long chatId, long creatorUserId, boolean isRevoked, int offsetDate, String offsetInviteLink, int limit) Returns invite links for a chat created by specified administrator.GetChatInviteLinks
(DataInput input) Returns invite links for a chat created by specified administrator. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
creatorUserId
public long creatorUserIdUser identifier of a chat administrator. Must be an identifier of the current user for non-owner. -
isRevoked
public boolean isRevokedPass true if revoked links needs to be returned instead of active or expired. -
offsetDate
public int offsetDateCreation date of an invite link starting after which to return invite links; use 0 to get results from the beginning. -
offsetInviteLink
Invite link starting after which to return invite links; use empty string to get results from the beginning. -
limit
public int limitThe maximum number of invite links to return; up to 100. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
GetChatInviteLinks
public GetChatInviteLinks()Returns invite links for a chat created by specified administrator. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links. ReturnsChatInviteLinks
-
GetChatInviteLinks
public GetChatInviteLinks(long chatId, long creatorUserId, boolean isRevoked, int offsetDate, String offsetInviteLink, int limit) Returns invite links for a chat created by specified administrator. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links. ReturnsChatInviteLinks
- Parameters:
chatId
- long Chat identifier.creatorUserId
- long User identifier of a chat administrator. Must be an identifier of the current user for non-owner.isRevoked
- boolean Pass true if revoked links needs to be returned instead of active or expired.offsetDate
- int Creation date of an invite link starting after which to return invite links; use 0 to get results from the beginning.offsetInviteLink
- String Invite link starting after which to return invite links; use empty string to get results from the beginning.limit
- int The maximum number of invite links to return; up to 100.
-
GetChatInviteLinks
Returns invite links for a chat created by specified administrator. Requires administrator privileges and canInviteUsers right in the chat to get own links and owner privileges to get other links. ReturnsChatInviteLinks
- 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()
-