Longman\TelegramBot\Commands\UserCommands\MarkdownCommand::execute PHP Method

execute() public method

public execute ( )
    public function execute()
    {
        $message = $this->getMessage();
        $chat_id = $message->getChat()->getId();
        $data = ['chat_id' => $chat_id, 'parse_mode' => 'MARKDOWN', 'text' => '*bold* _italic_ `inline fixed width code`
```
preformatted code block
code block
```
[Best Telegram bot api!!](https://github.com/akalongman/php-telegram-bot)
'];
        return Request::sendMessage($data);
    }
MarkdownCommand