public static class TdApi.ChatInviteLink extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
createsJoinRequest
True, if the link only creates join request.
|
long |
creatorUserId
User identifier of an administrator created the link.
|
int |
date
Point in time (Unix timestamp) when the link was created.
|
int |
editDate
Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown.
|
int |
expirationDate
Point in time (Unix timestamp) when the link will expire; 0 if never.
|
java.lang.String |
inviteLink
Chat invite link.
|
boolean |
isPrimary
True, if the link is primary.
|
boolean |
isRevoked
True, if the link was revoked.
|
int |
memberCount
Number of chat members, which joined the chat using the link.
|
int |
memberLimit
The maximum number of members, which can join the chat using the link simultaneously; 0 if not limited.
|
java.lang.String |
name
Name of the link.
|
int |
pendingJoinRequestCount
Number of pending join requests created using this link.
|
Constructor and Description |
---|
ChatInviteLink()
Contains a chat invite link.
|
ChatInviteLink(java.lang.String inviteLink,
java.lang.String name,
long creatorUserId,
int date,
int editDate,
int expirationDate,
int memberLimit,
int memberCount,
int pendingJoinRequestCount,
boolean createsJoinRequest,
boolean isPrimary,
boolean isRevoked)
Contains a chat invite link.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String inviteLink
public java.lang.String name
public long creatorUserId
public int date
public int editDate
public int expirationDate
public int memberLimit
public int memberCount
public int pendingJoinRequestCount
public boolean createsJoinRequest
public boolean isPrimary
public boolean isRevoked
public static final int CONSTRUCTOR
public ChatInviteLink()
public ChatInviteLink(java.lang.String inviteLink, java.lang.String name, long creatorUserId, int date, int editDate, int expirationDate, int memberLimit, int memberCount, int pendingJoinRequestCount, boolean createsJoinRequest, boolean isPrimary, boolean isRevoked)
inviteLink
- Chat invite link.name
- Name of the link.creatorUserId
- User identifier of an administrator created the link.date
- Point in time (Unix timestamp) when the link was created.editDate
- Point in time (Unix timestamp) when the link was last edited; 0 if never or unknown.expirationDate
- Point in time (Unix timestamp) when the link will expire; 0 if never.memberLimit
- The maximum number of members, which can join the chat using the link simultaneously; 0 if not limited. Always 0 if the link requires approval.memberCount
- Number of chat members, which joined the chat using the link.pendingJoinRequestCount
- Number of pending join requests created using this link.createsJoinRequest
- True, if the link only creates join request. If true, total number of joining members will be unlimited.isPrimary
- True, if the link is primary. Primary invite link can't have name, expiration date, or usage limit. There is exactly one primary invite link for each administrator with canInviteUsers right at a given time.isRevoked
- True, if the link was revoked.public int getConstructor()
getConstructor
in class TdApi.Object