How to check that user is totally new in the bot?
on /start command
if(request && (request.message_id==1)){
Bot.sendMessage("Thank you for starting bot!")
}else{
Bot.sendMessage("Hello again, old user")
}
How it is works?
The first message from user:
- it is always /start
- always the first and have 1 value
P.S.
Sometimes bot can write to user firstly... #2954