Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send multiple images telegram bot api

Is it possible to send multiple images in 1 message using telegram bot api, php? I know about method sendPhoto().

like image 839
Bipa Avatar asked Aug 13 '18 02:08

Bipa


People also ask

Can Telegram bot send pictures?

Pass a file_id as String to send a photo that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a photo from the Internet, or upload a local photo by passing a file path. (Optional). Photo caption (may also be used when re-sending photos by file_id), 0-1024 characters.

How many photos can I send ON Telegram at once?

Each album can include up to 10 photos or videos, arranged in the chat as elegantly proportioned thumbnails. They will also result in one notification instead of ten on the recipient's side.

How many messages can a Telegram bot send?

If you're sending bulk notifications to multiple users, the API will not allow more than 30 messages per second or so. Consider spreading out notifications over large intervals of 8—12 hours for best results. Also note that your bot will not be able to send more than 20 messages per minute to the same group.

Can Telegram bot send message to group?

In order to use your new bot to send message you'll need to add your bot as a group member to the desired Telegram chat. Once that's completed, you'll need to reference the chat ID number.


1 Answers

there is an API called sendMediaGroup and one of the php libraries which has implemented it is this.

like image 139
tashakori Avatar answered Oct 17 '22 21:10

tashakori