danog\MadelineProto\EventHandler\Message\Rich\Button\SwitchInline: A button that starts an inline query to the bot, in the current chat or in a chat chosen by the user.
Author: Daniil Gentili daniil@daniil.it
A button that starts an inline query to the bot, in the current chat or in a chat chosen by the user.
Properties
$query:stringInline query to insert$currentChat:boolWhether to insert the query in the current chat, instead of a chat chosen by the user$allowUserChats:boolWhether private chats with users can be chosen$allowBotChats:boolWhether private chats with bots can be chosen$allowGroupChats:boolWhether groups and supergroups can be chosen$allowChannelChats:boolWhether channels can be chosen$text:danog\MadelineProto\EventHandler\Message\Rich\RichTextText of the button$style:?danog\MadelineProto\EventHandler\Message\Rich\ButtonStyleStyle of the button, null for the default one
Method list:
Methods:
__construct(\danog\MadelineProto\EventHandler\Message\Rich\RichText|string $text, string $query, bool $currentChat = false, bool $allowUserChats = true, bool $allowBotChats = true, bool $allowGroupChats = true, bool $allowChannelChats = true, ?\danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle $style = NULL)
Parameters:
$text:\danog\MadelineProto\EventHandler\Message\Rich\RichText|string$query:string$currentChat:bool$allowUserChats:bool$allowBotChats:bool$allowGroupChats:bool$allowChannelChats:bool$style:?\danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle
See also:
- [
\danog\MadelineProto\EventHandler\Message\Rich\RichText: Styled text of a rich message: a tree of plain texts, styles, links and so on.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/RichText.html) \danog\MadelineProto\EventHandler\Message\Rich\ButtonStyle: Style of a button of a rich message.
Generated by danog/phpdoc