Skip to main content
Extremely Popular
Go to Latest
method Context.prototype.replyWithVideoNote
import { Context } from "https://deno.land/x/grammy@v1.11.1/context.ts";

Context-aware alias for api.sendVideoNote. Use this method to send video messages. On success, the sent Message is returned. As of v.4.0, Telegram clients support rounded square mp4 videos of up to 1 minute long.

Parameters

video_note: InputFile | string

Video note to send. Pass a file_id as String to send a video note that exists on the Telegram servers (recommended) or upload a new video using multipart/form-data.. Sending video notes by a URL is currently unsupported

optional
other: Other<"sendVideoNote", "chat_id" | "video_note">

Optional remaining parameters, confer the official reference below

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#sendvideonote