Channel
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- fetchMetadata() : ChannelInfo|null
- post() : SentMessage
Properties
$adapter read-only
public
Adapter
$adapter
$id read-only
public
string
$id
Methods
__construct()
public
__construct(string $id, Adapter $adapter) : mixed
Parameters
- $id : string
- $adapter : Adapter
fetchMetadata()
public
fetchMetadata() : ChannelInfo|null
Return values
ChannelInfo|nullpost()
public
post(string|PostableMessage $message) : SentMessage
Parameters
- $message : string|PostableMessage