haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputChatPhoto

Synopsis

Documentation

data InputChatPhoto Source #

Describes a photo to be set as a user profile or chat photo

Constructors

InputChatPhotoPrevious

A previously used profile photo of the current user

Fields

InputChatPhotoStatic

A static photo in JPEG format

Fields

  • photo :: Maybe InputFile

    Photo to be set as profile photo. Only inputFileLocal and inputFileGenerated are allowed

InputChatPhotoAnimation

An animation in MPEG4 format; must be square, at most 10 seconds long, have width between 160 and 1280 and be at most 2MB in size

Fields

InputChatPhotoSticker

A sticker on a custom background

Fields