Class CallsAddRequest.CallsAddRequestBuilder
java.lang.Object
com.slack.api.methods.request.calls.CallsAddRequest.CallsAddRequestBuilder
- Enclosing class:
- CallsAddRequest
public static class CallsAddRequest.CallsAddRequestBuilder
extends java.lang.Object
-
Method Summary
Modifier and Type Method Description CallsAddRequestbuild()CallsAddRequest.CallsAddRequestBuildercreatedBy(java.lang.String createdBy)The valid Slack user ID of the user who created this Call.CallsAddRequest.CallsAddRequestBuilderdateStart(java.lang.Integer dateStart)Call start time in UTC UNIX timestamp formatCallsAddRequest.CallsAddRequestBuilderdesktopAppJoinUrl(java.lang.String desktopAppJoinUrl)When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.CallsAddRequest.CallsAddRequestBuilderexternalDisplayId(java.lang.String externalDisplayId)An optional, human-readable ID supplied by the 3rd-party Call provider.CallsAddRequest.CallsAddRequestBuilderexternalUniqueId(java.lang.String externalUniqueId)An ID supplied by the 3rd-party Call provider.CallsAddRequest.CallsAddRequestBuilderjoinUrl(java.lang.String joinUrl)The URL required for a client to join the Call.CallsAddRequest.CallsAddRequestBuildertitle(java.lang.String title)The name of the Call.CallsAddRequest.CallsAddRequestBuildertoken(java.lang.String token)Authentication token bearing required scopes.java.lang.StringtoString()CallsAddRequest.CallsAddRequestBuilderusers(java.util.List<CallParticipant> users)The list of users to register as participants in the Call.
-
Method Details
-
token
Authentication token bearing required scopes.- Returns:
this.
-
externalUniqueId
An ID supplied by the 3rd-party Call provider. It must be unique across all Calls from that service.- Returns:
this.
-
joinUrl
The URL required for a client to join the Call.- Returns:
this.
-
createdBy
The valid Slack user ID of the user who created this Call. When this method is called with a user token, the created_by field is optional and defaults to the authed user of the token. Otherwise, the field is required.- Returns:
this.
-
dateStart
Call start time in UTC UNIX timestamp format- Returns:
this.
-
desktopAppJoinUrl
public CallsAddRequest.CallsAddRequestBuilder desktopAppJoinUrl(java.lang.String desktopAppJoinUrl)When supplied, available Slack clients will attempt to directly launch the 3rd-party Call with this URL.- Returns:
this.
-
externalDisplayId
public CallsAddRequest.CallsAddRequestBuilder externalDisplayId(java.lang.String externalDisplayId)An optional, human-readable ID supplied by the 3rd-party Call provider. If supplied, this ID will be displayed in the Call object.- Returns:
this.
-
title
The name of the Call.- Returns:
this.
-
users
The list of users to register as participants in the Call.- Returns:
this.
-
build
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-