Telegram Bot API: How to get MIME type of received photos

Hey @Shurum_Burum,

Welcome to the community :tada:

Best I can think of would be to use a code node with the below in it…

for (const item of $input.all()) {
  item.binary.data.mimeType = 'image/jpeg'
}

return $input.all();
1 Like