public static class ChatUnfurlRequest.ChatUnfurlRequestBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
ChatUnfurlRequest |
build() |
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
channel(String channel)
Channel ID of the message
|
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
rawUnfurls(String rawUnfurls)
URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl message attachments.
|
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
token(String token)
Authentication token.
|
String |
toString() |
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
ts(String ts)
Timestamp of the message to add unfurl behavior to.
|
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
unfurls(Map<String,ChatUnfurlRequest.UnfurlDetail> unfurls) |
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
userAuthMessage(String userAuthMessage)
Provide a simply-formatted string to send as an ephemeral message to the user
as invitation to authenticate further and enable full unfurling behavior
|
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
userAuthRequired(boolean userAuthRequired)
Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain
|
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
userAuthUrl(String userAuthUrl)
Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling.
|
public ChatUnfurlRequest.ChatUnfurlRequestBuilder token(String token)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder userAuthMessage(String userAuthMessage)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder userAuthRequired(boolean userAuthRequired)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder rawUnfurls(String rawUnfurls)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder unfurls(Map<String,ChatUnfurlRequest.UnfurlDetail> unfurls)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder ts(String ts)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder userAuthUrl(String userAuthUrl)
public ChatUnfurlRequest.ChatUnfurlRequestBuilder channel(String channel)
public ChatUnfurlRequest build()
Copyright © 2020. All rights reserved.