@client.on(events.NewMessage)
async def my_event_handler(event):
if event.raw_text in ["Привет", "Доброе утро"]:
await event.reply('Доброе утро')
@client.on(events.NewMessage(from_users=[user_id]))
async def message(event):
global chat
if '.' in event.raw_text:
await client.send_message('@user', 'text')