Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Maknz
Slack
Message
from
Maknz\Slack\Message::from PHP Method
Message Class Documentation
Show file
Open project: maknz/slack
from()
public
method
Change the name of the user the post will be made as.
public
from
(
string
$username
)
$username
string
public function from($username) { $this->setUsername($username); return $this; }
Message
__construct
attach
clearAttachments
disableMarkdown
enableMarkdown
from
getAllowMarkdown
getAttachments
getChannel
getIcon
getIconType
getMarkdownInAttachments
getText
getUsername
send
setAllowMarkdown
setAttachments
setChannel
setIcon
setMarkdownInAttachments
setText
setUsername
to
withIcon