Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendVideoNoteRequest = SendVideoNoteRequest {
- sendVideoNoteChatId :: SomeChatId
- sendVideoNoteMessageThreadId :: Maybe MessageThreadId
- sendVideoNoteVideoNote :: InputFile
- sendVideoNoteDuration :: Maybe Int
- sendVideoNoteLength :: Maybe Int
- sendVideoNoteThumb :: Maybe InputFile
- sendVideoNoteDisableNotification :: Maybe Bool
- sendVideoNoteProtectContent :: Maybe Bool
- sendVideoNoteReplyToMessageId :: Maybe MessageId
- sendVideoNoteAllowSendingWithoutReply :: Maybe Bool
- sendVideoNoteReplyMarkup :: Maybe InlineKeyboardMarkup
- type SendVideoNoteContent = "sendVideoNote" :> (MultipartForm Tmp SendVideoNoteRequest :> Post '[JSON] (Response Message))
- type SendVideoNoteLink = "sendVideoNote" :> (ReqBody '[JSON] SendVideoNoteRequest :> Post '[JSON] (Response Message))
- sendVideoNote :: SendVideoNoteRequest -> ClientM (Response Message)
sendVideoNote
data SendVideoNoteRequest Source #
Request parameters for sendVideoNote
.
SendVideoNoteRequest | |
|
Instances
type SendVideoNoteContent = "sendVideoNote" :> (MultipartForm Tmp SendVideoNoteRequest :> Post '[JSON] (Response Message)) Source #
type SendVideoNoteLink = "sendVideoNote" :> (ReqBody '[JSON] SendVideoNoteRequest :> Post '[JSON] (Response Message)) Source #
sendVideoNote :: SendVideoNoteRequest -> ClientM (Response Message) Source #
As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long. Use this method to send video messages. On success, the sent Message is returned.