D
D
Dmitry2021-10-24 21:40:13
Bots
Dmitry, 2021-10-24 21:40:13

How to change the inline link in the telegram channel of an already published post?

How to change the inline link in the telegram channel of an already published post?
6175a8856faae944695578.jpeg

The fact is that the bot to which the link leads no longer exists, we replaced it, and all previously published posts on the channel will go to it, how can I edit this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
InternetMaster, 2021-10-25
@good_br

You must use the edit message text method .
Without knowing what programming language you use and what library it contains, I can’t give an example, you need to clarify the question.
And so, I will attach the documentation: https://core.telegram.org/bots/api#editmessagetext
Nothing complicated, you just need to change the button in the message knowing its message_id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question