Package com.slack.api.methods.request.im
Class ImMarkRequest.ImMarkRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.im.ImMarkRequest.ImMarkRequestBuilder
-
- Enclosing class:
- ImMarkRequest
public static class ImMarkRequest.ImMarkRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImMarkRequest
build()
ImMarkRequest.ImMarkRequestBuilder
channel(String channel)
Direct message channel to set reading cursor in.ImMarkRequest.ImMarkRequestBuilder
token(String token)
Authentication token.String
toString()
ImMarkRequest.ImMarkRequestBuilder
ts(String ts)
Timestamp of the most recently seen message.
-
-
-
Method Detail
-
token
public ImMarkRequest.ImMarkRequestBuilder token(String token)
Authentication token. Requires scope: `im:write`- Returns:
this
.
-
channel
public ImMarkRequest.ImMarkRequestBuilder channel(String channel)
Direct message channel to set reading cursor in.- Returns:
this
.
-
ts
public ImMarkRequest.ImMarkRequestBuilder ts(String ts)
Timestamp of the most recently seen message.- Returns:
this
.
-
build
public ImMarkRequest build()
-
-