A
A
Andrey2020-09-01 16:21:09
C++ / C#
Andrey, 2020-09-01 16:21:09

How to send a telegram bot a number?

Good afternoon!

Can you please tell me how to pass a numeric value to the bot in the dialog?
The Telegram bot has a dialog with ordering products in which the user is required to enter a quantity.
And with the input of the quantity, there was a hitch, I don’t understand how to implement it :(

InlineKeyboardButtonI can’t do it, because the quantity is from 10 to 2000+

I would be very grateful to you for the thought or idea!

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-09-01
@andrey71

Convert a string entered by the user to a number using int.Parse ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question