简体   繁体   中英

My bot does not have time to read messages - Telegram Bot API

I use the library Telegram.Bot for c#. I do not use webhook. The problem is this: my bot reads the chat (it seems that it checks for a certain period of time), but does not see messages that were deleted by the faster bot. As a result, my bot cannot work. How can I manage to read messages without using a webhook?

-- Perhaps I incorrectly asked a question. The second bot is not mine, it is just in the chat, because of it my bot does not have time to receive messages, it deletes them earlier.

I think you should only use one bot, after receiving all the new messages delete them with the following method https://core.telegram.org/bots/api#deletemessage

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM