public class ChatUpdateRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
ChatUpdateRequest.ChatUpdateRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static ChatUpdateRequest.ChatUpdateRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<Attachment> |
getAttachments()
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
String |
getAttachmentsAsString()
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
List<LayoutBlock> |
getBlocks()
A JSON-based array of structured blocks, presented as a URL-encoded string.
|
String |
getBlocksAsString()
A JSON-based array of structured blocks as a String, presented as a URL-encoded string.
|
String |
getChannel()
Channel, private group, or IM channel to send message to.
|
String |
getParse()
Change how messages are treated.
|
String |
getText()
Text of the message to send.
|
String |
getToken()
Authentication token.
|
String |
getTs()
Timestamp of the message to be updated.
|
String |
getUser()
`id` of the user who will receive the ephemeral message.
|
int |
hashCode() |
Boolean |
isAsUser() |
boolean |
isLinkNames()
Find and link channel names and usernames.
|
void |
setAsUser(Boolean asUser) |
void |
setAttachments(List<Attachment> attachments)
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
void |
setAttachmentsAsString(String attachmentsAsString)
A JSON-based array of structured attachments, presented as a URL-encoded string.
|
void |
setBlocks(List<LayoutBlock> blocks)
A JSON-based array of structured blocks, presented as a URL-encoded string.
|
void |
setBlocksAsString(String blocksAsString)
A JSON-based array of structured blocks as a String, presented as a URL-encoded string.
|
void |
setChannel(String channel)
Channel, private group, or IM channel to send message to.
|
void |
setLinkNames(boolean linkNames)
Find and link channel names and usernames.
|
void |
setParse(String parse)
Change how messages are treated.
|
void |
setText(String text)
Text of the message to send.
|
void |
setToken(String token)
Authentication token.
|
void |
setTs(String ts)
Timestamp of the message to be updated.
|
void |
setUser(String user)
`id` of the user who will receive the ephemeral message.
|
String |
toString() |
public Boolean isAsUser()
public void setAsUser(Boolean asUser)
public static ChatUpdateRequest.ChatUpdateRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic String getChannel()
public String getTs()
public String getText()
public String getUser()
public List<LayoutBlock> getBlocks()
public String getBlocksAsString()
public List<Attachment> getAttachments()
public String getAttachmentsAsString()
public boolean isLinkNames()
public String getParse()
public void setToken(String token)
public void setChannel(String channel)
public void setTs(String ts)
public void setText(String text)
public void setUser(String user)
public void setBlocks(List<LayoutBlock> blocks)
public void setBlocksAsString(String blocksAsString)
public void setAttachments(List<Attachment> attachments)
public void setAttachmentsAsString(String attachmentsAsString)
public void setLinkNames(boolean linkNames)
public void setParse(String parse)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.