need to create a queue of schedule Messages that will be sent every hour.
Documentation for get_messages
use python and sleeps, or with apscheduler
I don't know exactly how to send them.
what sort of "schedule messages" are you talking about, Telegram native scheduling or your own list of text to send
Telegram native
TL Reference for SendScheduledMessages
how to specify time in this req like after x sec send msg?
You do that yourself, using python
if you want to send it forcibly. the link you're replying to does that
i want to make user to send msg after x hr. Like even if i shut down script scheduled msgs should get sent
if you want to schedule a message, use schedule=datetime passed to most send_* methods you can measure the date normally
Обсуждают сегодня