V
V
Vekusen2020-11-08 17:12:30
ASP.NET
Vekusen, 2020-11-08 17:12:30

Telegram bot in c# replies an infinite number of times, why?

Hello, I wrote a telegram bot in c# and asp.net using Webhook, deployed it to Azure. After starting the bot and sending the command, the bot replies after a minute, and also starts to respond indefinitely.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2020-11-08
@Vekusen

Because you have errors in the logic of the program.

G
Griboks, 2020-11-09
@Griboks

A common mistake is to receive and reply to all messages. In fact, you should use offset to filter messages that have already been processed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question