@client.on(events.NewMessage(-1001111111111))
async def main(event):
event.message.to_dict()['message'] = ''.join(event.message.to_dict()['message'].split('\n')[0]) + 'мир'
await client.send_message(-1001222222222, event.message)
msg = ''.join(event.message.to_dict()['message'].split('\n')[0]) + 'мир'
await client.send_message(-1001222222222, msg)
await client.send_message(-1001222222222, event.message.to_dict()['message'])