pub async fn create_chat_folder_invite_link(
chat_folder_id: i32,
name: String,
chat_ids: Vec<i64>,
client_id: i32,
) -> Result<ChatFolderInviteLink, Error>Expand description
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
ยงArguments
chat_folder_id- Chat folder identifiername- Name of the link; 0-32 characterschat_ids- 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 creationclient_id- The client id to send the request to