Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendAnimationRequest = SendAnimationRequest {
- sendAnimationChatId :: SomeChatId
- sendAnimationMessageThreadId :: Maybe MessageThreadId
- sendAnimationAnimation :: InputFile
- sendAnimationDuration :: Maybe Int
- sendAnimationWidth :: Maybe Int
- sendAnimationHeight :: Maybe Int
- sendAnimationThumb :: Maybe InputFile
- sendAnimationCaption :: Maybe Text
- sendAnimationParseMode :: Maybe ParseMode
- sendAnimationCaptionEntities :: Maybe [MessageEntity]
- sendAnimationHasSpoiler :: Maybe Bool
- sendAnimationDisableNotification :: Maybe Bool
- sendAnimationProtectContent :: Maybe Bool
- sendAnimationReplyToMessageId :: Maybe MessageId
- sendAnimationAllowSendingWithoutReply :: Maybe Bool
- sendAnimationReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendAnimationContent = "sendAnimation" :> (MultipartForm Tmp SendAnimationRequest :> Post '[JSON] (Response Message))
- type SendAnimationLink = "sendAnimation" :> (ReqBody '[JSON] SendAnimationRequest :> Post '[JSON] (Response Message))
- sendAnimation :: SendAnimationRequest -> ClientM (Response Message)
sendAnimation
data SendAnimationRequest Source #
Request parameters for sendAnimation
.
SendAnimationRequest | |
|
Instances
type SendAnimationContent = "sendAnimation" :> (MultipartForm Tmp SendAnimationRequest :> Post '[JSON] (Response Message)) Source #
type SendAnimationLink = "sendAnimation" :> (ReqBody '[JSON] SendAnimationRequest :> Post '[JSON] (Response Message)) Source #
sendAnimation :: SendAnimationRequest -> ClientM (Response Message) Source #
Use this method to send animation files (GIF or H.264/MPEG-4 AVC video without sound). On success, the sent Message is returned. Bots can currently send animation files of up to 50 MB in size, this limit may be changed in the future.