Delete page 'ReplyKeyboardMarkup'
parent
de25e9b395
commit
f7da082de2
|
|
@ -1,27 +0,0 @@
|
|||
> ReplyKeyboardMarkup($destination, $textMessage, $keyboard, $resize = false, $oneTime = false, $selective = false)
|
||||
|
||||
|
||||
```
|
||||
#
|
||||
# include class
|
||||
#
|
||||
require('Telegram.class.php');
|
||||
|
||||
#
|
||||
# instance
|
||||
#
|
||||
$bot = new TelegramBot('mytoken');
|
||||
|
||||
#
|
||||
# keyboard
|
||||
#
|
||||
$keyboard = [
|
||||
TelegramBot::KeyboardButton('test 1'), TelegramBot::KeyboardButton('test 2')
|
||||
];
|
||||
|
||||
#
|
||||
# Chat action method with keyboard
|
||||
#
|
||||
$bot->ReplyKeyboardMarkup('DestinationMsgId', 'this is a keyboard', $keyboard);
|
||||
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user