HandlesSlackEvents
Table of Contents
Methods
-
parseAppHomeOpened()
: array{channelId: string, userId: string, raw: mixed}|null
-
parseAssistantContextChanged()
: array{channelId: string, threadId: string, threadTs: string, userId: string, context: mixed, raw: mixed}|null
-
parseAssistantThreadStarted()
: array{channelId: string, threadId: string, threadTs: string, userId: string, context: mixed, raw: mixed}|null
-
parseMemberJoinedChannel()
: array{channelId: string, userId: string, inviterId: ?string, raw: mixed}|null
parseAppHomeOpened()
public
parseAppHomeOpened(ServerRequestInterface $request) : array{channelId: string, userId: string, raw: mixed}|null
Parameters
-
$request
: ServerRequestInterface
-
Return values
array{channelId: string, userId: string, raw: mixed}|null
parseAssistantContextChanged()
public
parseAssistantContextChanged(ServerRequestInterface $request) : array{channelId: string, threadId: string, threadTs: string, userId: string, context: mixed, raw: mixed}|null
Parameters
-
$request
: ServerRequestInterface
-
Return values
array{channelId: string, threadId: string, threadTs: string, userId: string, context: mixed, raw: mixed}|null
parseAssistantThreadStarted()
public
parseAssistantThreadStarted(ServerRequestInterface $request) : array{channelId: string, threadId: string, threadTs: string, userId: string, context: mixed, raw: mixed}|null
Parameters
-
$request
: ServerRequestInterface
-
Return values
array{channelId: string, threadId: string, threadTs: string, userId: string, context: mixed, raw: mixed}|null
parseMemberJoinedChannel()
public
parseMemberJoinedChannel(ServerRequestInterface $request) : array{channelId: string, userId: string, inviterId: ?string, raw: mixed}|null
Parameters
-
$request
: ServerRequestInterface
-
Return values
array{channelId: string, userId: string, inviterId: ?string, raw: mixed}|null