telegram-bot-api-6.5: Easy to use library for building Telegram bots. Exports Telegram Bot API.
Safe HaskellNone
LanguageHaskell2010

Telegram.Bot.API.Methods.SendVideoNote

Synopsis

sendVideoNote

data SendVideoNoteRequest Source #

Request parameters for sendVideoNote.

Constructors

SendVideoNoteRequest 

Fields

Instances

Instances details
Generic SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

Associated Types

type Rep SendVideoNoteRequest :: Type -> Type #

ToJSON SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

ToMultipart Tmp SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

Methods

toMultipart :: SendVideoNoteRequest -> MultipartData Tmp

type Rep SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

type Rep SendVideoNoteRequest = D1 ('MetaData "SendVideoNoteRequest" "Telegram.Bot.API.Methods.SendVideoNote" "telegram-bot-api-6.5-inplace" 'False) (C1 ('MetaCons "SendVideoNoteRequest" 'PrefixI 'True) (((S1 ('MetaSel ('Just "sendVideoNoteChatId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SomeChatId) :*: S1 ('MetaSel ('Just "sendVideoNoteMessageThreadId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageThreadId))) :*: (S1 ('MetaSel ('Just "sendVideoNoteVideoNote") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 InputFile) :*: (S1 ('MetaSel ('Just "sendVideoNoteDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "sendVideoNoteLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "sendVideoNoteThumb") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InputFile)) :*: (S1 ('MetaSel ('Just "sendVideoNoteDisableNotification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sendVideoNoteProtectContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "sendVideoNoteReplyToMessageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe MessageId)) :*: (S1 ('MetaSel ('Just "sendVideoNoteAllowSendingWithoutReply") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "sendVideoNoteReplyMarkup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe InlineKeyboardMarkup)))))))

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.