Property | Type | Description | |
---|---|---|---|
$attachments | |||
$channel | string | ||
$client | |||
$icon | string | ||
$request | |||
$responseType | string | ||
$text | string |
Method | Description | |
---|---|---|
__construct ( |
||
create ( |
||
displayResponseToEveryoneOnChannel ( string $channelName = '' ) | ||
displayResponseToUserWhoTypedCommand ( ) | ||
getIconType ( ) : string | ||
getIlluminateResponse ( ) : Illuminate\Http\Response | ||
onChannel ( string $channelName ) | ||
send ( ) | Send the response to Slack. | |
useIcon ( string $icon ) : this | Set the icon (either URL or emoji) we will post as. | |
withAttachment ( |
||
withText ( string $text ) |
Method | Description | |
---|---|---|
getPayload ( ) : array |
public __construct ( |
||
$client | ||
$request |
public static create ( |
||
$request | ||
return |
public displayResponseToEveryoneOnChannel ( string $channelName = '' ) | ||
$channelName | string |
public displayResponseToUserWhoTypedCommand ( ) |
public getIlluminateResponse ( ) : Illuminate\Http\Response | ||
return | Illuminate\Http\Response |
public withAttachment ( |
||
$attachment |
protected Collection,Illuminate\Support $attachments | ||
return |