Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data InputMediaGeneric = InputMediaGeneric {}
- data InputMediaGenericThumb = InputMediaGenericThumb {}
- data InputMedia
- = InputMediaPhoto { }
- | InputMediaVideo { }
- | InputMediaAnimation { }
- | InputMediaAudio { }
- | InputMediaDocument { }
- type ContentType = Text
- data InputFile
- makeFile :: Text -> InputFile -> MultipartData Tmp -> MultipartData Tmp
InputMedia
data InputMediaGeneric Source #
Generic fields for all InputMedia structures
InputMediaGeneric | |
|
Instances
data InputMediaGenericThumb Source #
InputMediaGenericThumb | |
|
Instances
data InputMedia Source #
InputMediaPhoto | Represents a photo to be sent. |
| |
InputMediaVideo | Represents a video to be sent. |
| |
InputMediaAnimation | Represents an animation file (GIF or H.264/MPEG-4 AVC video without sound) to be sent. |
| |
InputMediaAudio | Represents an audio file to be treated as music to be sent. |
| |
InputMediaDocument | Represents a general file to be sent. |
|
Instances
ToJSON InputMedia Source # | |
Defined in Telegram.Bot.API.Types.InputMedia toJSON :: InputMedia -> Value # toEncoding :: InputMedia -> Encoding # toJSONList :: [InputMedia] -> Value # toEncodingList :: [InputMedia] -> Encoding # | |
ToMultipart Tmp InputMedia Source # | |
Defined in Telegram.Bot.API.Types.InputMedia toMultipart :: InputMedia -> MultipartData Tmp # |
type ContentType = Text Source #
makeFile :: Text -> InputFile -> MultipartData Tmp -> MultipartData Tmp Source #
Multipart file helper