We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ab1586 commit f85085aCopy full SHA for f85085a
src/Extensions/Keyboard.php
@@ -1,6 +1,7 @@
1
<?php
2
3
namespace BotMan\Drivers\Telegram\Extensions;
4
+
5
use Illuminate\Support\Collection;
6
7
/**
@@ -91,8 +92,8 @@ public function toArray()
91
92
'reply_markup' => json_encode(Collection::make([
93
$this->type => $this->rows,
94
'one_time_keyboard' => $this->oneTimeKeyboard,
- 'resize_keyboard' => $this->resizeKeyboard
95
- ])->filter())
+ 'resize_keyboard' => $this->resizeKeyboard,
96
+ ])->filter()),
97
];
98
}
99
src/Extensions/KeyboardButton.php
@@ -5,8 +5,7 @@
8
- * Class KeyboardButton
9
- * @package BotMan\Drivers\Telegram\Extensions
+ * Class KeyboardButton.
10
*/
11
class KeyboardButton implements \JsonSerializable
12
{
0 commit comments