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

Telegram.Bot.API.Methods.SendVideoNote

Synopsis

sendVideoNote

data SendVideoNoteRequest Source #

Request parameters for sendVideoNote.

Constructors

SendVideoNoteRequest 

Fields

Instances

Instances details
ToJSON SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

Generic SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

Associated Types

type Rep SendVideoNoteRequest :: Type -> Type #

ToMultipart Tmp SendVideoNoteRequest Source # 
Instance details

Defined in Telegram.Bot.API.Methods.SendVideoNote

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-3pY7XQZ5v9zCuyh8HdDMyB" '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)))))))

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.