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 classMessage.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.MessageBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)List<Attachment>getAttachments()List<LayoutBlock>getBlocks()StringgetChannel()LonggetId()StringgetText()StringgetType()inthashCode()voidsetAttachments(List<Attachment> attachments)voidsetBlocks(List<LayoutBlock> blocks)voidsetChannel(String channel)voidsetId(Long id)voidsetText(String text)StringtoString()
-
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