A
A
Alexander2019-04-29 20:04:11
Python
Alexander, 2019-04-29 20:04:11

How to teach a telegram bot to make an appointment with a doctor for an open date?

It is necessary to develop a telegram bot so that he, having a login and password for the service, makes an appointment with the doctor for the opened date. Question: what libraries to use, what material to teach for a deeper understanding of this process? Language: Python.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kutuzov_ska, 2019-04-29
@Kutuzov_ska

Do it in pure php, everything is outrageously simple there.
They don't even need libraries.
https://golos.io/en--obrazovanie/@tristamoff/sozda...
Read separately how to send buttons using PHP, it's very important.
With the button, a message is also transmitted, it will also be there, where there is information about the buttons.
The logic is simple: Write a bot layer for receiving and responding. You will have 70-100 lines maximum.
And then track the message and connect the desired class.
Example: First input -> send a button to select a doctor -> send "Cardiologist" "Therapist" -> User selects -> You get "Therapist", connect the Therapist class from which you call the Therapist->free dates method. and return.
In general, this is an updated CRUD like on the web, only instead of a web muzzle there is a telegram layer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question