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 String
SUBTYPE_NAME
static String
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description MessageBotEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<Attachment>
getAttachments()
List<LayoutBlock>
getBlocks()
String
getBotId()
String
getChannel()
String
getChannelType()
String
getEventTs()
Message.Icons
getIcons()
String
getSubtype()
String
getText()
String
getThreadTs()
String
getTs()
String
getType()
String
getUsername()
int
hashCode()
void
setAttachments(List<Attachment> attachments)
void
setBlocks(List<LayoutBlock> blocks)
void
setBotId(String botId)
void
setChannel(String channel)
void
setChannelType(String channelType)
void
setEventTs(String eventTs)
void
setIcons(Message.Icons icons)
void
setText(String text)
void
setThreadTs(String threadTs)
void
setTs(String ts)
void
setUsername(String username)
String
toString()
-
-
-
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:
getSubtype
in 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()
-
getThreadTs
public String getThreadTs()
-
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)
-
setThreadTs
public void setThreadTs(String threadTs)
-
setTs
public void setTs(String ts)
-
setEventTs
public void setEventTs(String eventTs)
-
setChannelType
public void setChannelType(String channelType)
-
canEqual
protected boolean canEqual(Object other)
-
-