telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
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
Show 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 #

FromJSON PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

Methods

parseJSON :: Value -> Parser PassportFile

parseJSONList :: Value -> Parser [PassportFile]

ToJSON PassportFile Source # 
Instance details

Defined in Telegram.Bot.API.Types.PassportFile

Methods

toJSON :: PassportFile -> Value

toEncoding :: PassportFile -> Encoding

toJSONList :: [PassportFile] -> Value

toEncodingList :: [PassportFile] -> Encoding

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-6.5-inplace" '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))))