Böyle mi yani?
bot.on('photo', async (ctx) => {
const text = ctx.update.message.caption;
if(text) {
const translation = await translator(text, {to: 'tr'});
ctx.update.message.photo.forEach(async (photo) => {
ctx.replyWithPhoto(photo.file_id, {
caption: `*${translation.text}*`,
parse_mode: 'Markdown',
reply_to_message_id: ctx.update.message.message_id
});
});
}
else {
ctx.reply("Anlayamadım. Lütfen tekrar edin.")
}
});
evet böyle başka türlü yanıt verme olarak toplu gönderim bilemiyorum yoktur