yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.3k stars 1.5k forks source link

media_group_id does not work for PC version #1004

Closed Vo0oX closed 2 years ago

Vo0oX commented 2 years ago

when I select 2 or more photos from the computer, a message arrives without the media_group_id mark

danielperez9430 commented 2 years ago

I think you are send your images not as a gallery in the desktop. Because the media_group_id you can only get it when you send 2 or more media (photos/videos/files/..) in 1 message.

Vo0oX commented 2 years ago

I think you are send your images not as a gallery in the desktop. Because the media_group_id you can only get it when you send 2 or more media (photos/videos/files/..) in 1 message.

https://www.dropbox.com/s/k4mzmu7igwenhxb/IMG_2286.MOV?dl=0

danielperez9430 commented 2 years ago

I think you are send your images not as a gallery in the desktop. Because the media_group_id you can only get it when you send 2 or more media (photos/videos/files/..) in 1 message.

https://www.dropbox.com/s/k4mzmu7igwenhxb/IMG_2286.MOV?dl=0

I see your video @Vo0oX but in Telegram MacOs you need to have enable this button in blue (the one is near the X). When you have this button enabled your message is send as a gallery (Max 10 items per message)

image
Vo0oX commented 2 years ago

I think you are send your images not as a gallery in the desktop. Because the media_group_id you can only get it when you send 2 or more media (photos/videos/files/..) in 1 message.

https://www.dropbox.com/s/k4mzmu7igwenhxb/IMG_2286.MOV?dl=0

I see your video @Vo0oX but in Telegram MacOs you need to have enable this button in blue (the one is near the X). When you have this button enabled your message is send as a gallery (Max 10 items per message)

image

Thanks for the tip, is it the same for Windows?

danielperez9430 commented 2 years ago

In windows you have a checkbox for group items, but only works if all the items that you send is from the same type (Only images, only gifs, ...). In Mac you can mix without problem

Vo0oX commented 2 years ago

In windows you have a checkbox for group items, but only works if all the items that you send is from the same type (Only images, only gifs, ...). In Mac you can mix without problem

thanks for the answer!