java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function<TdApi.ChatFolderInviteLink>
it.tdlight.jni.TdApi.CreateChatFolderInviteLink
- Enclosing class:
- TdApi
public static final class TdApi.CreateChatFolderInviteLink
extends TdApi.Function<TdApi.ChatFolderInviteLink>
Creates a new invite link for a chat
folder. A link can be created for a
chat folder if it has only pinned and included chats.
Returns
ChatFolderInviteLink-
Field Summary
FieldsModifier and TypeFieldDescriptionintChat folder identifier.long[]Identifiers of chats to be accessible by the invite link.static final intName of the link; 0-32 characters. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new invite link for a chat folder.CreateChatFolderInviteLink(int chatFolderId, String name, long[] chatIds) Creates a new invite link for a chat folder.Creates a new invite link for a chat folder. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toStringMethods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatFolderId
public int chatFolderIdChat folder identifier. -
name
Name of the link; 0-32 characters. -
chatIds
public long[] chatIdsIdentifiers 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. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
CreateChatFolderInviteLink
public CreateChatFolderInviteLink()Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. ReturnsChatFolderInviteLink -
CreateChatFolderInviteLink
Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. ReturnsChatFolderInviteLink- Parameters:
chatFolderId- int Chat folder identifier.name- String Name of the link; 0-32 characters.chatIds- long[] 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.
-
CreateChatFolderInviteLink
Creates a new invite link for a chat folder. A link can be created for a chat folder if it has only pinned and included chats. ReturnsChatFolderInviteLink- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-