A
A
Ayom Khabibov2021-03-22 11:43:10
Python
Ayom Khabibov, 2021-03-22 11:43:10

How to get just sent sms on telegram in python?

I have a telegram bot. I want to register there. What would first ask the Name after sending the name asked about the surname. How can I expect shipment? I am using PyTelegamBot. Help a newbie plzz.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Krostelev, 2021-03-22
@Aiyom

register_next_step_handler
Information on this mechanism is very well googled, including on this resource.

M
mandico21, 2021-03-22
@mandico21

I would advise you to use aiogram, because it is asynchronous, the telebot falls easily.
It is much easier to implement the registration system through the FSM state)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question