File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class HidekeyboardCommand extends UserCommand
26
26
protected $ name = 'hidekeyboard ' ;
27
27
protected $ description = 'Hide the custom keyboard ' ;
28
28
protected $ usage = '/hidekeyboard ' ;
29
- protected $ version = '0.0.5 ' ;
29
+ protected $ version = '0.0.6 ' ;
30
30
/**#@-*/
31
31
32
32
/**
@@ -37,10 +37,11 @@ public function execute()
37
37
$ message = $ this ->getMessage ();
38
38
$ chat_id = $ message ->getChat ()->getId ();
39
39
40
- $ data = [];
41
- $ data ['chat_id ' ] = $ chat_id ;
42
- $ data ['text ' ] = 'Keyboard Hided ' ;
43
- $ data ['reply_markup ' ] = new ReplyKeyboardHide ([ 'selective ' => false ]);
40
+ $ data = [
41
+ 'chat_id ' => $ chat_id ,
42
+ 'text ' => 'Keyboard Hidden ' ,
43
+ 'reply_markup ' => new ReplyKeyboardHide (['selective ' => false ]),
44
+ ];
44
45
45
46
return Request::sendMessage ($ data );
46
47
}
You can’t perform that action at this time.
0 commit comments