Class UsersInfoRequest.UsersInfoRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.users.UsersInfoRequest.UsersInfoRequestBuilder
-
- Enclosing class:
- UsersInfoRequest
public static class UsersInfoRequest.UsersInfoRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersInfoRequest
build()
UsersInfoRequest.UsersInfoRequestBuilder
includeLocale(boolean includeLocale)
Set this to `true` to receive the locale for this user.UsersInfoRequest.UsersInfoRequestBuilder
token(String token)
Authentication token.String
toString()
UsersInfoRequest.UsersInfoRequestBuilder
user(String user)
User to get info on
-
-
-
Method Detail
-
token
public UsersInfoRequest.UsersInfoRequestBuilder token(String token)
Authentication token. Requires scope: `users:read`- Returns:
this
.
-
user
public UsersInfoRequest.UsersInfoRequestBuilder user(String user)
User to get info on- Returns:
this
.
-
includeLocale
public UsersInfoRequest.UsersInfoRequestBuilder includeLocale(boolean includeLocale)
Set this to `true` to receive the locale for this user. Defaults to `false`- Returns:
this
.
-
build
public UsersInfoRequest build()
-
-