How can a Telegram Bot figure out that user has opened the chat window? -
how can bot send message user, when user opens chat.
example:
- user has added
telegram bot
list of contacts , started conversation - later on, user opens chat window bot
- bot "sees" user has opened chat window, hasn't written yet
- bot should "hello, can with?" user
is there event/trigger step #3 in telegram bot api?
no. there no trigger each time user opens chat window first time below:
when opens chat bot "for first time", automatically telegram sends
/start
command bot .it ordinary command when user sends command or write/start
, send, bot can catch , hello or commands user. user opens chat window bot, telegrams send message automatically bot containing info user , on.
Comments
Post a Comment