Maknz\Slack\Client::setAllowMarkdown PHP Method

setAllowMarkdown() public method

Set whether message text should be formatted with Slack's Markdown-like language.
public setAllowMarkdown ( boolean $value ) : void
$value boolean
return void
    public function setAllowMarkdown($value)
    {
        $this->allow_markdown = (bool) $value;
    }

Usage Example

 /**
  * Set whether message text should be formatted with
  * Slack's Markdown-like language
  *
  * @param boolean $value
  * @return void 
  * @static 
  */
 public static function setAllowMarkdown($value)
 {
     \Maknz\Slack\Client::setAllowMarkdown($value);
 }