haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.InputThumbnail

Documentation

data InputThumbnail Source #

Constructors

InputThumbnail

A thumbnail to be sent along with a file; must be in JPEG or WEBP format for stickers, and less than 200 KB in size

Fields

  • thumbnail :: Maybe InputFile

    Thumbnail file to send. Sending thumbnails by file_id is currently not supported

  • width :: Maybe Int

    Thumbnail width, usually shouldn't exceed 320. Use 0 if unknown

  • height :: Maybe Int

    Thumbnail height, usually shouldn't exceed 320. Use 0 if unknown