haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.ImportMessages

Synopsis

Documentation

data ImportMessages Source #

Imports messages exported from another app. Returns Ok

Constructors

ImportMessages 

Fields

  • chat_id :: Maybe Int

    Identifier of a chat to which the messages will be imported. It must be an identifier of a private chat with a mutual contact or an identifier of a supergroup chat with can_change_info member right

  • message_file :: Maybe InputFile

    File with messages to import. Only inputFileLocal and inputFileGenerated are supported. The file must not be previously uploaded

  • attached_files :: Maybe [InputFile]

    Files used in the imported messages. Only inputFileLocal and inputFileGenerated are supported. The files must not be previously uploaded