Skip to content

createChatFolderInviteLink

Function · TDLib 1.8.67 · d1085f9c

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

createChatFolderInviteLink(
  chat_folder_id: int32,
  name: string,
  chat_ids: list of int53
) → ChatFolderInviteLink

chat_folder_id

int32

Chat folder identifier

name

string

Name of the link; 0-32 characters

chat_ids

list of int53

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