I’m trying to make an inline Telegram bot that would modify user input in a certain way. Because of that I wanted to answer the query with simple text, but that doesn’t seem possible and I’m wondering if it’s really not or I’m missing something.
According to Telegram, there’s 20 handy result types, yet there doesn’t seem to be simple plain text. Is that really the case? How can I achieve my desired result then?
2
Answers
I had the same exact issue and solved it with the
InlineQueryResultArticle
.Example code for your
OnInlineQuery
Method:Use “InlineQueryResultArticle” and either set the value of “url” to undefined or do not set “url” fileld.