Updated ReplyKeyboardRemove

This commit is contained in:
netkas 2024-10-07 15:43:09 -04:00
parent b132c2c982
commit 1835ccc08e

View file

@ -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
*/