Interface 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. Request type for Tdjson#createChatFolderInviteLink.

interface CreateChatFolderInviteLink {
    @type: "createChatFolderInviteLink";
    chat_folder_id: number;
    chat_ids: number[];
    name: string;
}

Properties

@type: "createChatFolderInviteLink"
chat_folder_id: number

Chat folder identifier.

chat_ids: number[]

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.

name: string

Name of the link; 0-32 characters.