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

Contents

Synopsis

Animation

data Animation Source #

This object represents an animation file (GIF or H.264/MPEG-4 AVC video without sound).

Constructors

Animation 

Fields

Instances

Instances details
FromJSON Animation Source # 
Instance details

Defined in Telegram.Bot.API.Types.Animation

ToJSON Animation Source # 
Instance details

Defined in Telegram.Bot.API.Types.Animation

Generic Animation Source # 
Instance details

Defined in Telegram.Bot.API.Types.Animation

Associated Types

type Rep Animation :: Type -> Type #

Show Animation Source # 
Instance details

Defined in Telegram.Bot.API.Types.Animation

type Rep Animation Source # 
Instance details

Defined in Telegram.Bot.API.Types.Animation

type Rep Animation = D1 ('MetaData "Animation" "Telegram.Bot.API.Types.Animation" "telegram-bot-api-7.0-2XShkJeCLX71W7OKNKemWZ" 'False) (C1 ('MetaCons "Animation" 'PrefixI 'True) (((S1 ('MetaSel ('Just "animationFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "animationFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId)) :*: (S1 ('MetaSel ('Just "animationWidth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "animationHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "animationDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Seconds) :*: S1 ('MetaSel ('Just "animationThumbnail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PhotoSize))) :*: (S1 ('MetaSel ('Just "animationFileName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "animationMimeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "animationFileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer)))))))