method ApiMethods.sendVideoNote
ApiMethods.sendVideoNote(args: { business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; video_note: F | string; duration?: number; length?: number; thumbnail?: F; disable_notification?: boolean; protect_content?: boolean; allow_paid_broadcast?: boolean; suggested_post_parameters?: SuggestedPostParameters; message_effect_id?: string; reply_parameters?: ReplyParameters; reply_markup?: ; reply_to_message_id?: number; }): Message.VideoNoteMessage

Use this method to send video messages. On success, the sent Message is returned. As of v.4.0, Telegram clients support rounded square MPEG4 videos of up to 1 minute long.

Parameters

args: { business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; video_note: F | string; duration?: number; length?: number; thumbnail?: F; disable_notification?: boolean; protect_content?: boolean; allow_paid_broadcast?: boolean; suggested_post_parameters?: SuggestedPostParameters; message_effect_id?: string; reply_parameters?: ReplyParameters; reply_markup?: ; reply_to_message_id?: number; }

Return Type

Usage

import { type ApiMethods } from "types";