Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SendVideoNoteRequest = SendVideoNoteRequest {
- sendVideoNoteBusinessConnectionId :: Maybe BusinessConnectionId
- sendVideoNoteChatId :: SomeChatId
- sendVideoNoteMessageThreadId :: Maybe MessageThreadId
- sendVideoNoteVideoNote :: InputFile
- sendVideoNoteDuration :: Maybe Int
- sendVideoNoteLength :: Maybe Int
- sendVideoNoteThumbnail :: Maybe InputFile
- sendVideoNoteDisableNotification :: Maybe Bool
- sendVideoNoteProtectContent :: Maybe Bool
- sendVideoNoteReplyToMessageId :: Maybe MessageId
- sendVideoNoteReplyParameters :: Maybe ReplyParameters
- 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)
- defSendVideoNote :: SomeChatId -> InputFile -> SendVideoNoteRequest
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.