Class BookmarksAddRequest
java.lang.Object
com.slack.api.methods.request.bookmarks.BookmarksAddRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/bookmarks.add
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanChannel to add bookmark in.getEmoji()Emoji tag to apply to the link.ID of the entity being bookmarked.getLink()Link to bookmark.Id of this bookmark's parentgetTitle()Title for the bookmark.getToken()Authentication token.getType()Type of the bookmark i.e.inthashCode()voidsetChannelId(String channelId) Channel to add bookmark in.voidEmoji tag to apply to the link.voidsetEntityId(String entityId) ID of the entity being bookmarked.voidLink to bookmark.voidsetParentId(String parentId) Id of this bookmark's parentvoidTitle for the bookmark.voidAuthentication token.voidType of the bookmark i.e.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `bookmarks:write`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getChannelId
Channel to add bookmark in. -
getTitle
Title for the bookmark. -
getType
Type of the bookmark i.e. link. -
getEmoji
Emoji tag to apply to the link. -
getEntityId
ID of the entity being bookmarked. Only applies to message and file types. -
getLink
Link to bookmark. -
getParentId
Id of this bookmark's parent -
setToken
Authentication token. Requires scope: `bookmarks:write`- Specified by:
setTokenin interfaceSlackApiRequest
-
setChannelId
Channel to add bookmark in. -
setTitle
Title for the bookmark. -
setType
Type of the bookmark i.e. link. -
setEmoji
Emoji tag to apply to the link. -
setEntityId
ID of the entity being bookmarked. Only applies to message and file types. -
setLink
Link to bookmark. -
setParentId
Id of this bookmark's parent -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-