Package com.slack.api.rtm.message
Class Message
java.lang.Object
com.slack.api.rtm.message.Message
- All Implemented Interfaces:
RTMMessage
public class Message extends Object implements RTMMessage
https://api.slack.com/events/message
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Message.MessageBuilder
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Message()
Message(Long id, String channel, String text, List<LayoutBlock> blocks, List<Attachment> attachments)
-
Method Summary
Modifier and Type Method Description static Message.MessageBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<Attachment>
getAttachments()
List<LayoutBlock>
getBlocks()
String
getChannel()
Long
getId()
String
getText()
String
getType()
int
hashCode()
void
setAttachments(List<Attachment> attachments)
void
setBlocks(List<LayoutBlock> blocks)
void
setChannel(String channel)
void
setId(Long id)
void
setText(String text)
String
toString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
Message
public Message() -
Message
public Message(Long id, String channel, String text, List<LayoutBlock> blocks, List<Attachment> attachments)
-
-
Method Details