haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputBackground

Synopsis

Documentation

data InputBackground Source #

Contains information about background to set

Constructors

InputBackgroundLocal

A background from a local file

Fields

  • background :: Maybe InputFile

    Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns

InputBackgroundRemote

A background from the server

Fields

InputBackgroundPrevious

A background previously set in the chat; for chat backgrounds only

Fields