# How to download multiple files from a telegram group

**URL:** <https://community.make.com/t/how-to-download-multiple-files-from-a-telegram-group/16816>\
**Category:** Questions\
**Tags:** telegram\
**Created:** [October 1, 2023, 2:56pm UTC](https://community.make.com/t/how-to-download-multiple-files-from-a-telegram-group/16816 "2023-10-01T14:56:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shashwat\_Chopra](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Shashwat\_Chopra](https://community.make.com/u/Shashwat_Chopra)\
**Post date:** [October 1, 2023, 2:56pm UTC](https://community.make.com/t/how-to-download-multiple-files-from-a-telegram-group/16816/1 "2023-10-01T14:56:13Z")

</div>

I am trying to download multiple images from a telegram channel , but not getting required output. only getting 1 image in the output.

Given input - (2 images in my first group)

![123abc](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/4/d4cf9887f0d92f1a38acca1aa10b85338ff6c825.png)

but I am only getting first image in the output.

scenario

 ![Colourful Abstract Travel YouTube Thumbnail (1)](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/9/59c84d911e3d46587947fc0738b4ad881e44da9f.png)

 ![download](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/8/e/8e1b5cf1b3d0d64b399686222e5e32ca488af443.png)

output bundle.

[  
{  
“message”: null,  
“update\_id”: 665954840,  
“channel\_post”: {  
“message\_id”: 1028,  
“sender\_chat”: {  
“id”: -1001955557092,  
“title”: “Sandbox - Testing”,  
“username”: “upscmotivationquote”,  
“type”: “channel”  
},  
“chat”: {  
“id”: -1001955557092,  
“title”: “Sandbox - Testing”,  
“username”: “upscmotivationquote”,  
“type”: “channel”  
},  
“date”: “2023-10-01T13:48:30.000Z”,  
“media\_group\_id”: “13569344885637789”,  
“photo”: [  
{  
“file\_id”: “AgACAgUAAx0CdI9u5AACBARlGXiuARRjPE0YroSoaPoYjM3wBAACHbkxG2Ci0FQdGd6WWWPPWwEAAwIAA3MAAzAE”,  
“file\_unique\_id”: “AQADHbkxG2Ci0FR4”,  
“file\_size”: 2151,  
" **width": 90,**  
“height”: 90,  
“type”: “Photo”  
},  
{  
“file\_id”: “AgACAgUAAx0CdI9u5AACBARlGXiuARRjPE0YroSoaPoYjM3wBAACHbkxG2Ci0FQdGd6WWWPPWwEAAwIAA20AAzAE”,  
“file\_unique\_id”: “AQADHbkxG2Ci0FRy”,  
“file\_size”: 32363,  
**“width”: 320** ,  
“height”: 320  
},  
{  
“file\_id”: “AgACAgUAAx0CdI9u5AACBARlGXiuARRjPE0YroSoaPoYjM3wBAACHbkxG2Ci0FQdGd6WWWPPWwEAAwIAA3gAAzAE”,  
“file\_unique\_id”: “AQADHbkxG2Ci0FR9”,  
“file\_size”: 115282,  
**“width”: 800,**  
“height”: 800  
},  
{  
“file\_id”: “AgACAgUAAx0CdI9u5AACBARlGXiuARRjPE0YroSoaPoYjM3wBAACHbkxG2Ci0FQdGd6WWWPPWwEAAwIAA3kAAzAE”,  
“file\_unique\_id”: “AQADHbkxG2Ci0FR-”,  
“file\_size”: 153410,  
**“width”: 1080,**  
“height”: 1080  
}  
],  
“attachment”: {  
“file\_id”: “AgACAgUAAx0CdI9u5AACBARlGXiuARRjPE0YroSoaPoYjM3wBAACHbkxG2Ci0FQdGd6WWWPPWwEAAwIAA3MAAzAE”,  
“file\_unique\_id”: “AQADHbkxG2Ci0FR4”,  
“file\_size”: 2151,  
“width”: 90,  
“height”: 90,  
“type”: “Photo”  
}  
},  
“inline\_query”: null,  
“callback\_query”: null,  
“edited\_message”: null,  
“edited\_channel\_post”: null  
}  
]

only getting the first image in 4 different formats .  
is there a way around to get the data of all the files from the first channel.

**blueprint -**

[blueprint (3).json](https://community.make.com/uploads/short-url/uJkxdzLB83WrTQzoMYiGFU2aHqU.json) (108.3 KB)

---

<div class="post-metadata">

**Author:** ![Jobless\_Tobacconist](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/jobless_tobacconist/32/5378_2.png) [@Jobless\_Tobacconist](https://community.make.com/u/Jobless_Tobacconist)\
**Post date:** [November 8, 2023, 1:15pm UTC](https://community.make.com/t/how-to-download-multiple-files-from-a-telegram-group/16816/2 "2023-11-08T13:15:19Z")

</div>

Hi 👋🏾

This, actually, is caused by the Telegram Bot API.

Multiple images in one message are always being sent in multiple webhooks from Telegram’s side.  
Each with a unique “_Message ID_”.  
This means multiple images sent in one message trigger your scenario multiple times.

In case the images are sent in “Group items” mode, they all have a different “_Message ID_” but the same “_media\_group\_id_”.

I am not really sure whether it could be applied to your scenario idea but you potentially could have one scenario collecting image data with their IDs and “_media\_group\_ids_” which you could save to the Data Store and then a secondary scenario that would output (and group) the images data based on the “_media\_group\_id_”.

I hope it makes sense.

Cheerio.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [December 7, 2023, 8:07am UTC](https://community.make.com/t/how-to-download-multiple-files-from-a-telegram-group/16816/3 "2023-12-07T08:07:26Z")

</div>


