PHP Class Slack\DirectMessageChannel

Inheritance: extends slack\ClientObject, implements slack\ChannelInterface
显示文件 Open project: coderstephen/slack-client Class Usage Examples

Public Methods

Method Description
close ( ) {@inheritDoc}
getId ( ) {@inheritDoc}
getTimeCreated ( ) : DateTime Gets the time the channel was created.
getUser ( ) : React\Promise\PromiseInterface Gets the user the direct message channel is with.

Method Details

close() public method

{@inheritDoc}
public close ( )

getId() public method

{@inheritDoc}
public getId ( )

getTimeCreated() public method

Gets the time the channel was created.
public getTimeCreated ( ) : DateTime
return DateTime The time the channel was created.

getUser() public method

Gets the user the direct message channel is with.
public getUser ( ) : React\Promise\PromiseInterface
return React\Promise\PromiseInterface