![]() |
PhpBotFramework
1.0.0
A framework for Telegram Bots' APIs.
|
Handle and store results before sending them to an answerInlineQuery api call. More...
Functions | |
| DanySpin97\PhpBotFramework\InlineQueryResults::__construct () | |
| DanySpin97\PhpBotFramework\InlineQueryResults::newArticle ($title, $message_text, $description='', array $reply_markup=null, $parse_mode='HTML', $disable_web_preview=false) | |
| Add a result of type article article. More... | |
| DanySpin97\PhpBotFramework\InlineQueryResults::getResults () | |
| Get all results created. More... | |
Handle and store results before sending them to an answerInlineQuery api call.
| DanySpin97\PhpBotFramework\InlineQueryResults::__construct | ( | ) |
Create an InlineQueryResult object.
| DanySpin97\PhpBotFramework\InlineQueryResults::getResults | ( | ) |
Get all results created.
| DanySpin97\PhpBotFramework\InlineQueryResults::newArticle | ( | $title, | |
| $message_text, | |||
$description = '', |
|||
| array | $reply_markup = null, |
||
$parse_mode = 'HTML', |
|||
$disable_web_preview = false |
|||
| ) |
Add a result of type article article.
Add a result that will be show to the user.
| $title | Title of the result. |
| $message_text | Text of the message to be sent. |
| $description | Optional. Short description of the result |
| $reply_markup | Inline keyboard object (Not JSON serialized, use getArray from InlineKeyboard class). |
| $parse_mode | Optional. Formattation of the message. |
| $disable_web_preview | Optional. Disables link previews for links in the sent message |
1.8.12