Property | Type | Description | |
---|---|---|---|
$attachments | |||
$channel | |||
$icon_emoji | |||
$icon_url | |||
$link_names | |||
$mrkdwn | |||
$text | |||
$username |
Method | Description | |
---|---|---|
__construct ( string $text = '' ) | __construct | |
addAttachment ( |
addAttachment | |
enableLinkNames ( string $link_names ) | Set link_names | |
getAttachments ( ) : |
Get attachments | |
getChannel ( ) : string | Get channel | |
getIconEmoji ( ) : string | Get icon_emoji | |
getIconUrl ( ) : string | Get icon_url | |
getLinkNames ( ) : string | Get link_names | |
getMrkdwn ( ) : boolean | Get markdown property | |
getText ( ) : string | Get text | |
getUsername ( ) : string | Get username | |
setAttachments ( $attachments ) | Set attachments | |
setChannel ( string $channel ) | Set channel | |
setIconEmoji ( string $icon_emoji ) | Set icon_emoji | |
setIconUrl ( string $icon_url ) | Set icon_url | |
setMrkdwn ( boolean $mrkdwn ) | Set markdown | |
setText ( string $text ) : MessageInterface | Set text | |
setUsername ( string $username ) | Set username |
public __construct ( string $text = '' ) | ||
$text | string | message text |
public addAttachment ( |
||
$attachment |
public enableLinkNames ( string $link_names ) | ||
$link_names | string | the value to set |
public getAttachments ( ) : |
||
return | attachments |
public setChannel ( string $channel ) | ||
$channel | string | the value to set |
public setIconEmoji ( string $icon_emoji ) | ||
$icon_emoji | string | the value to set |
public setIconUrl ( string $icon_url ) | ||
$icon_url | string | the value to set |
public setUsername ( string $username ) | ||
$username | string | the value to set |