public static class TdApi.EditChatInviteLink extends TdApi.Function
Returns ChatInviteLink
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Chat identifier.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
createsJoinRequest
True, if the link only creates join request.
|
int |
expirationDate
Point in time (Unix timestamp) when the link will expire; pass 0 if never.
|
java.lang.String |
inviteLink
Invite link to be edited.
|
int |
memberLimit
The maximum number of chat members that can join the chat via the link simultaneously; 0-99999; pass 0 if not limited.
|
java.lang.String |
name
Invite link name; 0-32 characters.
|
Constructor and Description |
---|
EditChatInviteLink()
Default constructor for a function, which edits a non-primary invite link for a chat.
|
EditChatInviteLink(long chatId,
java.lang.String inviteLink,
java.lang.String name,
int expirationDate,
int memberLimit,
boolean createsJoinRequest)
Creates a function, which edits a non-primary invite link for a chat.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public java.lang.String inviteLink
public java.lang.String name
public int expirationDate
public int memberLimit
public boolean createsJoinRequest
public static final int CONSTRUCTOR
public EditChatInviteLink()
Returns ChatInviteLink
public EditChatInviteLink(long chatId, java.lang.String inviteLink, java.lang.String name, int expirationDate, int memberLimit, boolean createsJoinRequest)
Returns ChatInviteLink
chatId
- Chat identifier.inviteLink
- Invite link to be edited.name
- Invite link name; 0-32 characters.expirationDate
- Point in time (Unix timestamp) when the link will expire; pass 0 if never.memberLimit
- The maximum number of chat members that can join the chat via the link simultaneously; 0-99999; pass 0 if not limited.createsJoinRequest
- True, if the link only creates join request. If true, memberLimit must not be specified.public int getConstructor()
getConstructor
in class TdApi.Function