Updated ReplyKeyboardRemove
This commit is contained in:
parent
b132c2c982
commit
1835ccc08e
1 changed files with 24 additions and 0 deletions
|
@ -21,6 +21,18 @@
|
|||
return $this->remove_keyboard;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the remove keyboard
|
||||
*
|
||||
* @param bool $remove_keyboard
|
||||
* @return ReplyKeyboardRemove
|
||||
*/
|
||||
public function setRemoveKeyboard(bool $remove_keyboard): ReplyKeyboardRemove
|
||||
{
|
||||
$this->remove_keyboard = $remove_keyboard;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Optional. Use this parameter if you want to remove the keyboard for specific users only. Targets: 1) users
|
||||
* that are @mentioned in the text of the Message object; 2) if the bot's message is a reply
|
||||
|
@ -36,6 +48,18 @@
|
|||
return $this->selective;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the selective
|
||||
*
|
||||
* @param bool $selective
|
||||
* @return ReplyKeyboardRemove
|
||||
*/
|
||||
public function setSelective(bool $selective): ReplyKeyboardRemove
|
||||
{
|
||||
$this->selective = $selective;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue