The following are Apex classes for the Slack emoji API methods.
EmojiListRequest Class
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
public static Slack.EmojiListRequest.Builder builder()
Return Value
Type: Slack.EmojiListRequest.Builder
EmojiListRequest.Builder Class
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
public Slack.EmojiListRequest build()
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
public String getCacheTs()
Return Value
Type: String
getEmoji()
Gets the list of custom emoji.
Signature
public Map<String,String> getEmoji()
Return Value
Type: Map<String,String>
setCacheTs(cacheTs)
Signature
public void setCacheTs(String cacheTs)
Parameters
cacheTs
Type: String
Return Value
Type: void
setEmoji(emoji)
Signature
public void setEmoji(Map<String,String> emoji)
Parameters
emoji
Type: Map<String,String>
Return Value
Type: void