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.Document

Contents

Synopsis

Document

data Document Source #

This object represents a general file (as opposed to photos, voice messages and audio files).

Constructors

Document 

Fields

Instances

Instances details
FromJSON Document Source # 
Instance details

Defined in Telegram.Bot.API.Types.Document

ToJSON Document Source # 
Instance details

Defined in Telegram.Bot.API.Types.Document

Generic Document Source # 
Instance details

Defined in Telegram.Bot.API.Types.Document

Associated Types

type Rep Document :: Type -> Type #

Methods

from :: Document -> Rep Document x #

to :: Rep Document x -> Document #

Show Document Source # 
Instance details

Defined in Telegram.Bot.API.Types.Document

type Rep Document Source # 
Instance details

Defined in Telegram.Bot.API.Types.Document

type Rep Document = D1 ('MetaData "Document" "Telegram.Bot.API.Types.Document" "telegram-bot-api-6.5-3pY7XQZ5v9zCuyh8HdDMyB" 'False) (C1 ('MetaCons "Document" 'PrefixI 'True) ((S1 ('MetaSel ('Just "documentFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: (S1 ('MetaSel ('Just "documentFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "documentThumb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PhotoSize)))) :*: (S1 ('MetaSel ('Just "documentFileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "documentMimeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentFileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))))))