Class AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.admin.emoji.AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
-
- Enclosing class:
- AdminEmojiAddRequest
public static class AdminEmojiAddRequest.AdminEmojiAddRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminEmojiAddRequest
build()
AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
name(String name)
The name of the emoji to be removed.AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
token(String token)
Authentication token bearing required scopes.String
toString()
AdminEmojiAddRequest.AdminEmojiAddRequestBuilder
url(String url)
The URL of a file to use as an image for the emoji.
-
-
-
Method Detail
-
token
public AdminEmojiAddRequest.AdminEmojiAddRequestBuilder token(String token)
Authentication token bearing required scopes.- Returns:
this
.
-
name
public AdminEmojiAddRequest.AdminEmojiAddRequestBuilder name(String name)
The name of the emoji to be removed. Colons (:myemoji:) around the value are not required, although they may be included.- Returns:
this
.
-
url
public AdminEmojiAddRequest.AdminEmojiAddRequestBuilder url(String url)
The URL of a file to use as an image for the emoji. Square images under 128KB and with transparent backgrounds work best.- Returns:
this
.
-
build
public AdminEmojiAddRequest build()
-
-