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

Telegram.Bot.API.Types.VideoNote

Contents

Synopsis

VideoNote

data VideoNote Source #

This object represents a video message (available in Telegram apps as of v.4.0).

Constructors

VideoNote 

Fields

Instances

Instances details
Show VideoNote Source # 
Instance details

Defined in Telegram.Bot.API.Types.VideoNote

Generic VideoNote Source # 
Instance details

Defined in Telegram.Bot.API.Types.VideoNote

Associated Types

type Rep VideoNote :: Type -> Type #

FromJSON VideoNote Source # 
Instance details

Defined in Telegram.Bot.API.Types.VideoNote

Methods

parseJSON :: Value -> Parser VideoNote

parseJSONList :: Value -> Parser [VideoNote]

ToJSON VideoNote Source # 
Instance details

Defined in Telegram.Bot.API.Types.VideoNote

Methods

toJSON :: VideoNote -> Value

toEncoding :: VideoNote -> Encoding

toJSONList :: [VideoNote] -> Value

toEncodingList :: [VideoNote] -> Encoding

type Rep VideoNote Source # 
Instance details

Defined in Telegram.Bot.API.Types.VideoNote

type Rep VideoNote = D1 ('MetaData "VideoNote" "Telegram.Bot.API.Types.VideoNote" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "VideoNote" 'PrefixI 'True) ((S1 ('MetaSel ('Just "videoNoteFileId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: (S1 ('MetaSel ('Just "videoNoteFileUniqueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FileId) :*: S1 ('MetaSel ('Just "videoNoteLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "videoNoteDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Seconds) :*: (S1 ('MetaSel ('Just "videoNoteThumb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe PhotoSize)) :*: S1 ('MetaSel ('Just "videoNoteFileSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Integer))))))