| 1 | <?php |
||
| 7 | class DirectMessageChannel extends ClientObject implements ChannelInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * {@inheritDoc} |
||
| 11 | */ |
||
| 12 | public function getId() |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Gets the time the channel was created. |
||
| 19 | * |
||
| 20 | * @return \DateTime The time the channel was created. |
||
| 21 | */ |
||
| 22 | public function getTimeCreated() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Gets the user the direct message channel is with. |
||
| 31 | * |
||
| 32 | * @return \React\Promise\PromiseInterface |
||
| 33 | */ |
||
| 34 | public function getUser() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | */ |
||
| 42 | public function close() |
||
| 50 | } |
||
| 51 |