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 ClientObject

An object fetched from the Slack API.

Slack\DataObject implements JsonSerializable
Extended by Slack\ClientObject

Direct known subclasses

Slack\Bot, Slack\Channel, Slack\DirectMessageChannel, Slack\Message\Message, Slack\Team, Slack\User

Indirect known subclasses

Slack\Group

Abstract
Namespace: Slack
Located at ClientObject.php

Methods summary

public
# __construct( Slack\ApiClient $client, array $data )

Creates a client object from a data array.

Creates a client object from a data array.

Parameters

$client
The API client the object belongs to.
$data
An array of model data.
public Slack\ApiClient
# getClient( )

Gets the client object that created the object.

Gets the client object that created the object.

Returns

Slack\ApiClient
The client object that created the object.

Methods inherited from Slack\DataObject

fromData(), jsonSerialize(), jsonUnserialize()

Properties summary

protected Slack\ApiClient $client

The API client the object belongs to.

The API client the object belongs to.

#

Properties inherited from Slack\DataObject

$data

API documentation generated by ApiGen