![]() |
PhpBotFramework
1.0.0
A framework for Telegram Bots' APIs.
|
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::newArticleKeyboard (&$title, &$message_text, &$description, array &$reply_markup, $parse_mode='HTML', $disable_web_preview=false) | |
| Optimized version of newArticle that take reference for the first 4 parameters. More... | |
| & | DanySpin97\PhpBotFramework\InlineQueryResults::getResults () |
| Get all results created. More... | |
| 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 |
| DanySpin97\PhpBotFramework\InlineQueryResults::newArticleKeyboard | ( | & | $title, |
| & | $message_text, | ||
| & | $description, | ||
| array & | $reply_markup, | ||
$parse_mode = 'HTML', |
|||
$disable_web_preview = false |
|||
| ) |
Optimized version of newArticle that take reference for the first 4 parameters.
1.8.12