haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.CreatePrivateChat

Synopsis

Documentation

data CreatePrivateChat Source #

Returns an existing chat corresponding to a given user. Returns Chat

Constructors

CreatePrivateChat 

Fields

  • user_id :: Maybe Int

    User identifier

  • force :: Maybe Bool

    Pass true to create the chat without a network request. In this case all information about the chat except its type, title and photo can be incorrect