public static class TdApi.GetChatInviteLinks extends TdApi.Function
Returns ChatInviteLinks
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
creatorUserId
User identifier of a chat administrator.
|
boolean |
isRevoked
Pass true if revoked links needs to be returned instead of active or expired.
|
int |
limit
The maximum number of invite links to return; up to 100.
|
int |
offsetDate
Creation date of an invite link starting after which to return invite links; use 0 to get results from the beginning.
|
java.lang.String |
offsetInviteLink
Invite link starting after which to return invite links; use empty string to get results from the beginning.
|
Constructor and Description |
---|
GetChatInviteLinks()
Default constructor for a function, which returns invite links for a chat created by specified administrator.
|
GetChatInviteLinks(long chatId,
long creatorUserId,
boolean isRevoked,
int offsetDate,
java.lang.String offsetInviteLink,
int limit)
Creates a function, which returns invite links for a chat created by specified administrator.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long creatorUserId
public boolean isRevoked
public int offsetDate
public java.lang.String offsetInviteLink
public int limit
public static final int CONSTRUCTOR
public GetChatInviteLinks()
Returns ChatInviteLinks
public GetChatInviteLinks(long chatId, long creatorUserId, boolean isRevoked, int offsetDate, java.lang.String offsetInviteLink, int limit)
Returns ChatInviteLinks
chatId
- Chat identifier.creatorUserId
- User identifier of a chat administrator. Must be an identifier of the current user for non-owner.isRevoked
- Pass true if revoked links needs to be returned instead of active or expired.offsetDate
- Creation 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
- The maximum number of invite links to return; up to 100.public int getConstructor()
getConstructor
in class TdApi.Function