im looking for create specifice event in telethon
@client.on(events.NewMessage(incoming=True))
async def my_event_handler(event):
if event.is_private:
print("ok")
in this code i need have "is_private" in NewMessage how can i do this?
and how can create events with specific Condition ? For example i want send_message at 12:00 every day how can i do this ? *Notice i have an event so i cant run for example
client.send_message(chat_id, "message") # i want 2 this at 12:00 for example