Tool

Send album

The telegram_bot_api-send-album tool enables users to send multiple photos and videos as a single album in Telegram chats, streamlining media sharing efficiently and effectively.

telegram_bot_api

Features

  • Send groups of 2 to 10 photos or videos together as an album in one message.
  • Supports both unique chat IDs and public chat usernames for versatile targeting.
  • Option to disable notifications for silent message delivery, enhancing user control.
  • Handles JSON-serialized input media arrays to specify diverse media types in one request.
  • Integrates seamlessly with Telegram Bot API, ensuring reliable and fast media sharing.

Benefits

  • Enhances user engagement by sharing multiple media items in a consolidated album format.
  • Saves time by avoiding multiple individual media messages and reduces chat clutter.
  • Improves user experience with silent message options for less intrusive communication.
  • Facilitates organized and visually appealing media presentation within chats.
  • Enables developers to easily automate and customize media sharing in Telegram bots.

Description

Sends a group of photos or videos as an album. See the docs for more information

Parameters

3 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.

mediaany

A JSON-serialized array describing photos and videos to be sent, must include 2–10 items (e.g., [{"type":"photo","media":"https://example.com/myImage.jpeg"},{"type":"video","media":"/tmp/myVideo.mp4"}]). See the docs for more information about the input media object.

disable_notificationboolean

Choose if to send the message silently. iOS users will not receive a notification, Android users will receive a notification with no sound.

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 .