Send an InLine message to the channel with the bot

Can I send InlineMessageto a Channel using Bot Automatically ?

in InlineMessageafter using the user to use the Inline Telegram method sends InlineQueryUpdate, after that Bot must AnswerInlineQueryc InlineQueryResults. and then, the User after selecting any of the InlineQueryResults, Result - Send to the user.

In the channel , because there is no body to select any of the results, InlineKeyboardSwitchInlineQueryButton removed from the markup.

So what can we do?


EDIT:
More info:
There is one bot and one channel . The bot is a channel administrator. The bot has inLine Mode and inLine Reply Keyboard

Problem :
When Bot sends a message (without any person) with the inLine response keyboard to the Channel , the InLine response buttons removes it from the keyboard.
But when I send a message (with a person) to the channel through inLine Mode to Bot, everything is in order.

What I need?
I need to send a message Channel through Bot without any user . or best solution for this.

+4
1

-, ? .

Discord.JS, -. "message.channel", server.channels.find( "", "servernamehere" ) .

-1

Source: https://habr.com/ru/post/1683723/


All Articles