D
D
dossanadilet2018-11-16 16:04:46
JavaScript
dossanadilet, 2018-11-16 16:04:46

Authorization in Telegram bot through phone number in NODE JS. How to register in a bot?

How to register in a telegram bot through a phone number, so that later you can log in to the bot for your function?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Plague_doctor, 2019-03-12
@Plague_doctor

The mechanisms can be different...
I associate an ID that is passed with each message and a phone number that the user can pass to the bot by clicking "Submit your contact".
"contact": {
"phone_number": "Number",
"first_name": "nickname",
"user_id": id"
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question