Telegram.Bot.API.Types.Video
Contents
Video
data Video Source #
This object represents a video file.
Constructors
Fields
Unique identifier for this file.
Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.
Video width as defined by sender.
Video height as defined by sender.
Duration of the video in seconds as defined by sender.
Video thumbnail.
Original filename as defined by sender.
Mime type of a file as defined by sender.
File size in bytes.
Defined in Telegram.Bot.API.Types.Video
Methods
parseJSON :: Value -> Parser Video #
parseJSONList :: Value -> Parser [Video] #
toJSON :: Video -> Value #
toEncoding :: Video -> Encoding #
toJSONList :: [Video] -> Value #
toEncodingList :: [Video] -> Encoding #
Associated Types
type Rep Video :: Type -> Type #
from :: Video -> Rep Video x #
to :: Rep Video x -> Video #
showsPrec :: Int -> Video -> ShowS #
show :: Video -> String #
showList :: [Video] -> ShowS #