shurillu / CTBot

A simple (and easy to use) Arduino Telegram BOT Library for ESP8266/ESP32
MIT License
151 stars 35 forks source link

Application submission #98

Closed NobeliY closed 2 years ago

NobeliY commented 2 years ago

I want to implement the application submission via CT Bot. How to make acceptance of new messages as an application form?

shurillu commented 2 years ago

Hello NobeliY I'm not clear how a microcontroller like an ESP32 can handle such problem. Anyway every Telegram user have his own unique ID, so you can use it to identify as a new/already registered user. After that, you can ask the required information. For example:

<Telegram bot> What's your name?
<User> Stefano
...

and so on.. Hoping that can answer your question. Cheers

Stefano

NobeliY commented 2 years ago

Thanks for answer my question. I did this: if bot get '/start' command, he send to user his id and url for forms. Thanks for this beautiful library!