View Source ExTDLib.Method.CreateChatFolderInviteLink (ExTDLib v0.0.4)

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 object_ptr<ChatFolderInviteLink>.

NameTypeDescription
chat_folder_idnumberChat folder identifier.
namestringName of the link; 0-32 characters.
chat_idsstringIdentifiers 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.

More details on telegram's documentation.