haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.CreateNewBasicGroupChat

Synopsis

Documentation

data CreateNewBasicGroupChat Source #

Creates a new basic group and sends a corresponding messageBasicGroupChatCreate. Returns information about the newly created chat. Returns CreatedBasicGroupChat

Constructors

CreateNewBasicGroupChat 

Fields

  • user_ids :: Maybe [Int]

    Identifiers of users to be added to the basic group; may be empty to create a basic group without other members

  • title :: Maybe Text

    Title of the new basic group; 1-128 characters

  • message_auto_delete_time :: Maybe Int

    Message auto-delete time value, in seconds; must be from 0 up to 365 * 86400 and be divisible by 86400. If 0, then messages aren't deleted automatically