PhpBotFramework  1.0.0
A framework for Telegram Bots' APIs.
Functions
Optmized Api Methods

Functions

DanySpin97\PhpBotFramework\Bot::sendMessageKeyboard (&$text, &$inline_keyboard, $parse_mode='HTML', $disable_web_preview=true, $disable_notification=false)
 Optimized version of sendMessage that takes reference of $text and reference of $inline_keyboard. More...
 
DanySpin97\PhpBotFramework\Bot::editMessageTextKeyboard (&$text, &$inline_keyboard, &$message_id, $parse_mode='HTML', $disable_web_preview=false)
 Optimized version of editMessageText that takes reference of $text and $inline_keyboard. More...
 
DanySpin97\PhpBotFramework\Bot::answerInlineQueryRef (&$results, $switch_pm_text, $switch_pm_parameter='', $is_personal=true, $cache_time=300)
 Optimized version of answerInlineQuery that takes reference of $results. More...
 

Detailed Description

Function Documentation

§ answerInlineQueryRef()

& DanySpin97\PhpBotFramework\Bot::answerInlineQueryRef ( $results,
  $switch_pm_text,
  $switch_pm_parameter = '',
  $is_personal = true,
  $cache_time = 300 
)

Optimized version of answerInlineQuery that takes reference of $results.

See also
answerInlineQuery

§ editMessageTextKeyboard()

& DanySpin97\PhpBotFramework\Bot::editMessageTextKeyboard ( $text,
$inline_keyboard,
$message_id,
  $parse_mode = 'HTML',
  $disable_web_preview = false 
)

Optimized version of editMessageText that takes reference of $text and $inline_keyboard.

See also
editMessageText

§ sendMessageKeyboard()

& DanySpin97\PhpBotFramework\Bot::sendMessageKeyboard ( $text,
$inline_keyboard,
  $parse_mode = 'HTML',
  $disable_web_preview = true,
  $disable_notification = false 
)

Optimized version of sendMessage that takes reference of $text and reference of $inline_keyboard.

See also
sendMessage