telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Telegram.Bot.API.Types.ChatPhoto

Contents

Synopsis

Chat photo

data ChatPhoto Source #

Chat photo. Returned only in getChat.

Constructors

ChatPhoto 

Fields

  • chatPhotoSmallFileId :: FileId

    Unique file identifier of small (160x160) chat photo. This file_id can be used only for photo download.

  • chatPhotoSmallFileUniqueId :: FileId

    Unique file identifier of small (160x160) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

  • chatPhotoBigFileId :: FileId

    Unique file identifier of big (640x640) chat photo. This file_id can be used only for photo download.

  • chatPhotoBigFileUniqueId :: FileId

    Unique file identifier of big (640x640) chat photo, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

Instances

Instances details
FromJSON ChatPhoto Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPhoto

ToJSON ChatPhoto Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPhoto

Generic ChatPhoto Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPhoto

Associated Types

type Rep ChatPhoto :: Type -> Type #

Show ChatPhoto Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPhoto

type Rep ChatPhoto Source # 
Instance details

Defined in Telegram.Bot.API.Types.ChatPhoto

type Rep ChatPhoto = D1 ('MetaData "ChatPhoto" "Telegram.Bot.API.Types.ChatPhoto" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "ChatPhoto" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chatPhotoSmallFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "chatPhotoSmallFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId)) :*: (S1 ('MetaSel ('Just "chatPhotoBigFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "chatPhotoBigFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId))))