Package com.slack.api.model.event
Class MessageBotEvent
java.lang.Object
com.slack.api.model.event.MessageBotEvent
- All Implemented Interfaces:
Event,Serializable
public class MessageBotEvent extends Object implements Event
https://api.slack.com/events/message/bot_message
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static StringSUBTYPE_NAMEstatic StringTYPE_NAME -
Constructor Summary
Constructors Constructor Description MessageBotEvent() -
Method Summary
Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)List<Attachment>getAttachments()List<LayoutBlock>getBlocks()StringgetBotId()StringgetChannel()StringgetChannelType()StringgetEventTs()Message.IconsgetIcons()StringgetSubtype()StringgetText()StringgetThreadTs()StringgetTs()StringgetType()StringgetUsername()inthashCode()voidsetAttachments(List<Attachment> attachments)voidsetBlocks(List<LayoutBlock> blocks)voidsetBotId(String botId)voidsetChannel(String channel)voidsetChannelType(String channelType)voidsetEventTs(String eventTs)voidsetIcons(Message.Icons icons)voidsetText(String text)voidsetThreadTs(String threadTs)voidsetTs(String ts)voidsetUsername(String username)StringtoString()
-
Field Details
-
TYPE_NAME
- See Also:
- Constant Field Values
-
SUBTYPE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Details
-
MessageBotEvent
public MessageBotEvent()
-
-
Method Details
-
getType
-
getSubtype
- Specified by:
getSubtypein interfaceEvent
-
getBotId
-
getUsername
-
getIcons
-
getChannel
-
getText
-
getBlocks
-
getAttachments
-
getThreadTs
-
getTs
-
getEventTs
-
getChannelType
-
setBotId
-
setUsername
-
setIcons
-
setChannel
-
setText
-
setBlocks
-
setAttachments
-
setThreadTs
-
setTs
-
setEventTs
-
setChannelType
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-