Class TeamInfoRequest.TeamInfoRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.team.TeamInfoRequest.TeamInfoRequestBuilder
-
- Enclosing class:
- TeamInfoRequest
public static class TeamInfoRequest.TeamInfoRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamInfoRequest
build()
TeamInfoRequest.TeamInfoRequestBuilder
team(String team)
Team to get info on, if omitted, will return information about the current team.TeamInfoRequest.TeamInfoRequestBuilder
token(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
token
public TeamInfoRequest.TeamInfoRequestBuilder token(String token)
Authentication token. Requires scope: `team:read`- Returns:
this
.
-
team
public TeamInfoRequest.TeamInfoRequestBuilder team(String team)
Team to get info on, if omitted, will return information about the current team. Will only return team that the authenticated token is allowed to see through external shared channels- Returns:
this
.
-
build
public TeamInfoRequest build()
-
-