Package com.slack.api.rtm.message
Class Message
java.lang.Object
com.slack.api.rtm.message.Message
- All Implemented Interfaces:
RTMMessage
https://docs.slack.dev/reference/events/message
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMessage()Message(Long id, String channel, String text, List<LayoutBlock> blocks, List<Attachment> attachments) -
Method Summary
Modifier and TypeMethodDescriptionstatic Message.MessageBuilderbuilder()protected booleanbooleangetId()getText()getType()inthashCode()voidsetAttachments(List<Attachment> attachments) voidsetBlocks(List<LayoutBlock> blocks) voidsetChannel(String channel) voidvoidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.slack.api.rtm.message.RTMMessage
toJSONString
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
Message
public Message() -
Message
public Message(Long id, String channel, String text, List<LayoutBlock> blocks, List<Attachment> attachments)
-
-
Method Details