Overview
  • Namespace
  • Class

Namespaces

  • Slack
    • Message

Classes

  • ApiClient
  • Bot
  • Channel
  • ClientObject
  • DataObject
  • DirectMessageChannel
  • Group
  • Payload
  • RealTimeClient
  • Team
  • User

Interfaces

  • ChannelInterface
  • Exception

Exceptions

  • ApiException
  • ConnectionException
  • UserNotFoundException

Class DirectMessageChannel

Contains information about a direct message channel.

Slack\DataObject implements JsonSerializable
Extended by Slack\ClientObject
Extended by Slack\DirectMessageChannel implements Slack\ChannelInterface
Namespace: Slack
Located at DirectMessageChannel.php

Methods summary

public string
# getId( )

Gets the room ID.

Gets the room ID.

Returns

string
The room ID.

Implementation of

Slack\ChannelInterface::getId()
public DateTime
# getTimeCreated( )

Gets the time the channel was created.

Gets the time the channel was created.

Returns

DateTime
The time the channel was created.
public React\Promise\PromiseInterface
# getUser( )

Gets the user the direct message channel is with.

Gets the user the direct message channel is with.

Returns

React\Promise\PromiseInterface
public
# close( )

Implementation of

Slack\ChannelInterface::close()

Methods inherited from Slack\ClientObject

__construct(), getClient()

Methods inherited from Slack\DataObject

fromData(), jsonSerialize(), jsonUnserialize()

Properties summary

Properties inherited from Slack\ClientObject

$client

Properties inherited from Slack\DataObject

$data

API documentation generated by ApiGen