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

Telegram.Bot.API.Types.PassportFile

Contents

Synopsis

PassportFile

data PassportFile Source #

This object represents a file uploaded to Telegram Passport. Currently all Telegram Passport files are in JPEG format when decrypted and don't exceed 10MB.

Constructors

PassportFile 

Fields

Instances

Instances details
FromJSON PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

ToJSON PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

Generic PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

Associated Types

type Rep PassportFile :: Type -> Type #

Show PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

type Rep PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

type Rep PassportFile = D1 ('MetaData "PassportFile" "Telegram.Bot.API.Types.PassportFile" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "PassportFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "passportFileFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "passportFileFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId)) :*: (S1 ('MetaSel ('Just "passportFileFileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "passportFileFileDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime))))