Message_text error in inline mode
Hello! I've tried to realise inline mode to my bot, but Telegram sends me an error, something like "no message_text field". I assume it is that I am sending InlineQueryResultArticle with some text and urls for user, so InlineQueryResultNew should have field message_text. see https://core.telegram.org/bots/api#inputtextmessagecontent and after I added it in InlineQueryResultNew like this: [JsonProperty("message_text", Required = Required.Always)] public string MessageText { get; set; }
Inline mode works perfectly and no more errors. so consider changing InlineQueryResultNew.cs if you need detailed error text, i think i can provide it...
have you used the InputMessageContent property on InlineQueryResultArticle?
you can also look at the comments here
I used InlineQueryResultArticle
the important part is that you need to specify InputMessageContent, that is what is send by the user, if he selects a result