public class ChatUnfurlRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatUnfurlRequest.ChatUnfurlRequestBuilder |
static class |
ChatUnfurlRequest.UnfurlDetail |
| Modifier and Type | Method and Description |
|---|---|
static ChatUnfurlRequest.ChatUnfurlRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getChannel()
Channel ID of the message
|
String |
getRawUnfurls()
URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl message attachments.
|
String |
getToken()
Authentication token.
|
String |
getTs()
Timestamp of the message to add unfurl behavior to.
|
Map<String,ChatUnfurlRequest.UnfurlDetail> |
getUnfurls() |
String |
getUserAuthMessage()
Provide a simply-formatted string to send as an ephemeral message to the user
as invitation to authenticate further and enable full unfurling behavior
|
String |
getUserAuthUrl()
Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling.
|
int |
hashCode() |
boolean |
isUserAuthRequired()
Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain
|
void |
setChannel(String channel)
Channel ID of the message
|
void |
setRawUnfurls(String rawUnfurls)
URL-encoded JSON map with keys set to URLs featured in the the message, pointing to their unfurl message attachments.
|
void |
setToken(String token)
Authentication token.
|
void |
setTs(String ts)
Timestamp of the message to add unfurl behavior to.
|
void |
setUnfurls(Map<String,ChatUnfurlRequest.UnfurlDetail> unfurls) |
void |
setUserAuthMessage(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
|
void |
setUserAuthRequired(boolean userAuthRequired)
Set to `true` or `1` to indicate the user must install your Slack app to trigger unfurls for this domain
|
void |
setUserAuthUrl(String userAuthUrl)
Send users to this custom URL where they will complete authentication in your app to fully trigger unfurling.
|
String |
toString() |
public static ChatUnfurlRequest.ChatUnfurlRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic String getUserAuthMessage()
public boolean isUserAuthRequired()
public String getRawUnfurls()
public Map<String,ChatUnfurlRequest.UnfurlDetail> getUnfurls()
public String getTs()
public String getUserAuthUrl()
public String getChannel()
public void setToken(String token)
public void setUserAuthMessage(String userAuthMessage)
public void setUserAuthRequired(boolean userAuthRequired)
public void setRawUnfurls(String rawUnfurls)
public void setUnfurls(Map<String,ChatUnfurlRequest.UnfurlDetail> unfurls)
public void setTs(String ts)
public void setUserAuthUrl(String userAuthUrl)
public void setChannel(String channel)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.