Answer the question
In order to leave comments, you need to log in
How are individual answers made in telegram bots?
Hello.
In general, there was already a similar question, but I did not find the right answer.
For example, when I make a C# bot tg, and write:
bool isNumber = false;
...
if(isNumber) {
bot.SendAsyncTextMessage(id, "вы ввели номер")
}
else if(text.StartsWith("/number")) {
isNumber = true;
bot.SendAsyncTextMessage(id, " Введите номер")
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question