The connection telegram bot to the server api
Good day
There is a bot on the platform botmother
It collects data about the person:
Growth
Weight
- the age
- lifestyle
Etc
There is a formula by which the collected data is translated into the required number of calories per day to that person
In botmother have the opportunity to communicate with the server api
Want after collecting data, they were sent to the server
There the data must be first added to the plate
Then the formula must be calculated the required number of calories
Based on this quantity, the bot needs to be transferred to a pdf file (File prepared in advance and are on the server) with a diet made specifically for this person
Bot ready, just need to get the data to load into the plate, to do calculations and to send a file
Is the server on reg.ru
30.04.2020 12:00