haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.CreateChatFolderInviteLink

Synopsis

Documentation

data CreateChatFolderInviteLink Source #

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

Constructors

CreateChatFolderInviteLink 

Fields

  • chat_folder_id :: Maybe Int

    Chat folder identifier

  • name :: Maybe Text

    Name of the link; 0-32 characters

  • chat_ids :: Maybe [Int]

    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