M
M
mabiyn2020-05-13 05:33:21
C++ / C#
mabiyn, 2020-05-13 05:33:21

How can I edit a message sent by a BOT to a telegram channel?

There is a BOT in C# winform. He sends a message to the telegram channel in this way.

private void btnSignal_Click(object sender, EventArgs e)
        {
            BotClient = new TelegramBotClient(tokenbottxt);
            BotClient.StartReceiving();
            var SendMessage = BotClient.SendTextMessageAsync(CanalIDtxt, txtBotSignal.Text);
        }

The Telegram.Bot standard library is used
How can I edit the sent txtBotSignal.Text message?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolay, 2020-05-13
@arkolka

obviously with the BotClient.EditMessageTextAsync() method

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question