Skip to content
Permalink
Browse files

advanced function buildInlineKeyboardButton

  • Loading branch information...
Anisan committed Oct 9, 2019
1 parent 1569172 commit 9610b106f538bb0e9f5cf77b6a5127def750d536
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/telegram/telegram.class.php
@@ -603,8 +603,8 @@ function getKeyb($user) {
//print_r($keyb);
return $keyb;
}
function buildInlineKeyboardButton($text, $url = "", $callback_data = "", $switch_inline_query = "") {
return $this->telegramBot->buildInlineKeyboardButton($text, $url, $callback_data, $switch_inline_query);
function buildInlineKeyboardButton($text, $url = "", $callback_data = "", $switch_inline_query = NULL ,$switch_inline_query_current_chat = NULL) {
return $this->telegramBot->buildInlineKeyboardButton($text, $url, $callback_data, $switch_inline_query, $switch_inline_query_current_chat);
}
function buildInlineKeyBoard(array $option) {
return $this->telegramBot->buildInlineKeyBoard($option);

0 comments on commit 9610b10

Please sign in to comment.
You can’t perform that action at this time.