await app.get_chat(chat) - ошибки не выдаёт, аawait message.forward(chat) - выдаёт ошибку pyrogram.errors.exceptions.bad_request_400.PeerIdInvalid: [400 PEER_ID_INVALID]: The peer id being used is invalid or not known yet. Make sure you meet the peer before interacting with itc = await app.resolve_peer(int(chat))
await message.forward(c.chat_id)