Took API for C # from the official site of Telegram.
When creating a console application for receiving messages, the bot had enough recording:
Bot.StartReceiving(); Console.ReadLine(); Bot.StopReceiving(); But in a project with WinForm, the line Console.ReadLine(); does not read values.
What to replace it with? Or need another principle?
Console.ReadLine()- to work with the console. With the console, Karl! - Anatol