Tool

Send video note

The telegram_bot_api-send-video-note tool allows seamless sending of rounded square mp4 video messages up to 1 minute in length via Telegram bots. It leverages Telegram's updated API (v4.0) to enhance communication through engaging video notes.

telegram_bot_api

Features

  • Supports sending rounded square MP4 videos up to 1 minute in length.
  • Accepts various file input types: file_id, HTTP URL, or local file path.
  • Allows specification of MIME types including video/mpeg, video/mp4, video/webm, and video/ogg.
  • Enables customization with optional reply_to_message_id and reply_markup parameters for interactive chat experiences.
  • Ensures compliance with Telegram's file size and format requirements for smooth delivery.

Benefits

  • Enhances user engagement with rich video content in chats.
  • Streamlines automation by integrating video messaging into Telegram bots.
  • Supports flexible file input methods simplifying video uploads.
  • Facilitates interactive conversations with inline keyboards and custom replies.
  • Improves communication clarity and expressiveness through video notes.

Description

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. See the docs for more information

Parameters

8 parameters

NameTypeDescription
chatIdrequiredstring

Enter the unique identifier for the target chat (e.g. 1035597319) or username of the target public chat (in the format @channelusername or @supergroupusername). For example, if the group's public link is t.me/mygroup, the username is @mygroup.

filenamestring

Enter a filename.

videoNoterequiredstring

File to send. Pass a file_id to send a file that exists on the Telegram servers, pass an HTTP URL for Telegram to get a file from the Internet, or pass the path to the file (e.g., /tmp/myFile.ext) to upload a new one using a file downloaded to /tmp. File must meet Telegram's requirements for MIME type and size.

contentTypeenum

Select or enter the MIME type of data.

lengthinteger

Enter the video width and height, i.e. diameter of the video message, in pixels (px).

durationinteger

Enter duration of sent video in seconds.

reply_to_message_idstring

Enter the ID of the original message.

reply_markupstring

Enter additional interface options that are a JSON-serialized object including an inline keyboard, a custom reply keyboard, instructions to remove the reply keyboard or instructions to force a reply from the user, e.g. {"inline_keyboard":[[{"text":"Some button text 2","url":"https://botpress.org"}]]} or {"keyboard":[["Yes","No"],["Maybe"]]}. Note: keyboard cannot be used with channels. See the docs for more information.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .