Work with Emojis

The following are Apex classes for the Slack emoji API methods.

Sends a request to list custom emoji for a team.

Usage

See Slack’s emoji.list method.

EmojiListRequest Methods

The following are methods for EmojiListRequest.

builder()

Builds a request object that's used when executing the API call.

Signature

Return Value

Type: Slack.EmojiListRequest.Builder


Contains methods to build an instance of the Slack.EmojiListRequest class.

A Builder object is obtained by invoking one of the EmojiListRequest.builder methods defined by the EmojiListRequest class.

EmojiListRequest.Builder Methods

The following are methods for EmojiListRequest.Builder.

build()

Required. Returns an instance of Slack.EmojiListRequest.

Signature

Return Value

Type: Slack.EmojiListRequest


EmojiListResponse Class

Lists custom emoji for a team.

EmojiListResponse Methods

This class contains standard response methods.

The following are methods for EmojiListResponse.

getCacheTs()

Signature

Return Value

Type: String

getEmoji()

Gets the list of custom emoji.

Signature

Return Value

Type: Map<String,String>

setCacheTs(cacheTs)

Signature

Parameters

cacheTs

Type: String

Return Value

Type: void

setEmoji(emoji)

Signature

Parameters

emoji

Type: Map<String,String>

Return Value

Type: void