for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace LeoCarmo\TelegramBot\Traits;
use LeoCarmo\TelegramBot\Model\Buttons\Button;
trait SetReplyMarkupButton
{
/**
* @var
*/
protected $reply_markup;
* @param Button $button
* @return $this
public function setReplyMarkupButton(Button $button)
$this->reply_markup = $button->getReplyMarkup();
return $this;
}