public static class TdApi.CreateChatFolderInviteLink extends TdApi.Function<TdApi.ChatFolderInviteLink>
Returns ChatFolderInviteLink
| Modifier and Type | Field and Description |
|---|---|
int |
chatFolderId
Chat folder identifier.
|
long[] |
chatIds
Identifiers of chats to be accessible by the invite link.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
name
Name of the link; 0-32 characters.
|
| Constructor and Description |
|---|
CreateChatFolderInviteLink()
Default constructor for a function, which creates a new invite link for a chat folder.
|
CreateChatFolderInviteLink(int chatFolderId,
java.lang.String name,
long[] chatIds)
Creates a function, which creates a new invite link for a chat folder.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int chatFolderId
public java.lang.String name
public long[] chatIds
public static final int CONSTRUCTOR
public CreateChatFolderInviteLink()
Returns ChatFolderInviteLink
public CreateChatFolderInviteLink(int chatFolderId,
java.lang.String name,
long[] chatIds)
Returns ChatFolderInviteLink
chatFolderId - Chat folder identifier.name - Name of the link; 0-32 characters.chatIds - Identifiers of chats to be accessible by the invite link. Use getChatsForChatFolderInviteLink to get suitable chats. Basic groups will be automatically converted to supergroups before link creation.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object