S
S
sunway1742020-01-16 09:03:52
Bots
sunway174, 2020-01-16 09:03:52

How to add the ability to send an http request to the telegram bot?

There is a bot made using the aimylogic constructor. The bot calculates the delivery, if the user enters the weight and volume, the weight will be divided by the volume. The problem is that the volume is most often a fraction with a comma. And the logic of their constructor does not accept numbers with a comma. That is, if we enter 2.5, then the constructor will convert it to 2 and the result will not be correct. Developers are not going to fix this error. It is possible to insert an http request into the bot logic, but I am not a programmer, I don’t understand how to do this. Can someone explain? That is, at the level of intuition, I understand that it is possible to send a request with two variables to the site of some online calculator and return the result. Only if you explain, please do not throw off links to the theory, I have already read it so that there is only porridge in the head. Write what you need to

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2020-01-16
@GavriKos

but I'm not a programmer, I don't understand how to do it

Hire a programmer, he will do it for you. There's a freelance site up there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question