Overview
  • Namespace
  • Class

Namespaces

  • Slack
    • Message

Classes

  • Slack\ApiClient
  • Slack\Bot
  • Slack\Channel
  • Slack\ClientObject
  • Slack\DataObject
  • Slack\DirectMessageChannel
  • Slack\Group
  • Slack\Message\Attachment
  • Slack\Message\AttachmentBuilder
  • Slack\Message\AttachmentField
  • Slack\Message\Message
  • Slack\Message\MessageBuilder
  • Slack\Payload
  • Slack\RealTimeClient
  • Slack\Team
  • Slack\User

Interfaces

  • Slack\ChannelInterface
  • Slack\Exception

Exceptions

  • Slack\ApiException
  • Slack\ConnectionException
  • Slack\UserNotFoundException
 1 <?php
 2 namespace Slack;
 3 
 4 /**
 5  * Interface for room objects that messages can be posted to, such as channels
 6  * and groups.
 7  */
 8 interface ChannelInterface
 9 {
10     /**
11      * Gets the room ID.
12      *
13      * @return string The room ID.
14      */
15     public function getId();
16 
17     /*
18      * Closes the channel.
19      *
20      * @return \React\Promise\PromiseInterface
21      */
22     public function close();
23 }
24 
API documentation generated by ApiGen