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
All Methods Instance Methods Concrete Methods 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()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)voidsetTs(String ts)voidsetUsername(String username)StringtoString()
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
SUBTYPE_NAME
public static final String SUBTYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSubtype
public String getSubtype()
- Specified by:
getSubtypein interfaceEvent
-
getBotId
public String getBotId()
-
getUsername
public String getUsername()
-
getIcons
public Message.Icons getIcons()
-
getChannel
public String getChannel()
-
getText
public String getText()
-
getBlocks
public List<LayoutBlock> getBlocks()
-
getAttachments
public List<Attachment> getAttachments()
-
getTs
public String getTs()
-
getEventTs
public String getEventTs()
-
getChannelType
public String getChannelType()
-
setBotId
public void setBotId(String botId)
-
setUsername
public void setUsername(String username)
-
setIcons
public void setIcons(Message.Icons icons)
-
setChannel
public void setChannel(String channel)
-
setText
public void setText(String text)
-
setBlocks
public void setBlocks(List<LayoutBlock> blocks)
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
setTs
public void setTs(String ts)
-
setEventTs
public void setEventTs(String eventTs)
-
setChannelType
public void setChannelType(String channelType)
-
canEqual
protected boolean canEqual(Object other)
-
-