We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d375ff0 commit 310f7d9Copy full SHA for 310f7d9
Telegram.php
@@ -39,13 +39,7 @@ public function deleteMessage($data)
39
40
public function editMessageReplyMarkup($data)
41
{
42
- $reply_markup = array(
43
- 'keyboard' => $data['keyboard'],
44
- 'resize_keyboard' => true,
45
- 'one_time_keyboard' => true
46
- );
47
- $param = array("chat_id" => $data['chat_id'], "message_id" => $data['message_id'], 'reply_markup' => $reply_markup);
48
- return $this->curlExecute('editMessageReplyMarkup', $param);
+ return $this->curlExecute('editMessageReplyMarkup', $data);
49
}
50
51
public function sendWithKeyboardMessage($data)
0 commit comments