Work with Emojis
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
1 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
1 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
1 public String getCacheTs ( )
Return Value
Type: String
getEmoji()
Gets the list of custom emoji.
Signature
1 public Map < String,String > getEmoji ( )
Return Value
Type: Map<String,String>
setCacheTs(cacheTs)
Signature
1 public void setCacheTs ( String cacheTs )
Parameters
cacheTs
Type: String
Return Value
Type: void
setEmoji(emoji)
Signature
1 public void setEmoji ( Map < String,String > emoji )
Parameters
emoji
Type: Map<String,String>
Return Value
Type: void
This feature is not generally available. It is not part of your purchased Services. This feature is subject to change, may be discontinued with no notice at any time in SFDC’s sole discretion, and SFDC may never make this feature generally available. Make your purchase decisions only on the basis of generally available products and features. This feature is made available on an AS IS basis and use of this feature is at your sole risk.