diff --git a/src/TgBotLib/Objects/ReplyKeyboardRemove.php b/src/TgBotLib/Objects/ReplyKeyboardRemove.php index 9a8ed8b..257e5f0 100644 --- a/src/TgBotLib/Objects/ReplyKeyboardRemove.php +++ b/src/TgBotLib/Objects/ReplyKeyboardRemove.php @@ -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 */