@app.on_message(filters.channel & filters.chat(source_channel_id))
async def forward_message(client, message):
if message.photo:
caption = message.caption if message.caption else ""
await client.send_photo(destination_channel_id, message.photo.file_id, caption=caption)
elif message.text:
await client.send_message(destination_channel_id, message.text
При отправке юзером все прекрасно работает. При отправке ботом получаю ошибку:
Telegram says: [400 MEDIA_EMPTY] - The media you tried to send is invalid (caused by "messages.SendMedia").