Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 980 Bytes

Reactions.md

File metadata and controls

59 lines (46 loc) · 980 Bytes

Slack Reactions API Methods (Go Back)

This PHP class provides methods to interact with the Slack Reactions API. Below are instructions on how to use each method.

Method: add

add(
    string $channelId,
    string $name,
    string $timestamp
)

Add a reaction to a message.

Method: get

get(
    ?string $channelId = null,
    ?string $file = null,
    ?string $fileComment = null,
    ?bool $full = null,
    ?string $timestamp = null
)

Get reactions from a message.

Method: list

list(
    ?int $count = null,
    ?string $cursor = null,
    ?bool $full = null,
    ?int $limit = null,
    ?int $page = null,
    ?string $teamId = null,
    ?string $userId = null
)

List reactions made by a user.

Method: remove

remove(
    string $name,
    ?string $channelId = null,
    ?string $file = null,
    ?string $fileComment = null,
    ?string $timestamp = null
)

Remove a reaction from a message.