Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendAnimationRequest = SendAnimationRequest {
- sendAnimationBusinessConnectionId :: Maybe BusinessConnectionId
- sendAnimationChatId :: SomeChatId
- sendAnimationMessageThreadId :: Maybe MessageThreadId
- sendAnimationAnimation :: InputFile
- sendAnimationDuration :: Maybe Int
- sendAnimationWidth :: Maybe Int
- sendAnimationHeight :: Maybe Int
- sendAnimationThumbnail :: Maybe InputFile
- sendAnimationCaption :: Maybe Text
- sendAnimationParseMode :: Maybe ParseMode
- sendAnimationCaptionEntities :: Maybe [MessageEntity]
- sendAnimationShowCaptionAboveMedia :: Maybe Bool
- sendAnimationHasSpoiler :: Maybe Bool
- sendAnimationDisableNotification :: Maybe Bool
- sendAnimationProtectContent :: Maybe Bool
- sendAnimationMessageEffectId :: Maybe Text
- sendAnimationReplyToMessageId :: Maybe MessageId
- sendAnimationReplyParameters :: Maybe ReplyParameters
- 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)
- defSendAnimation :: SomeChatId -> InputFile -> SendAnimationRequest
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.