Package com.slack.api.model.event
Class BotAddedEvent
- java.lang.Object
-
- com.slack.api.model.event.BotAddedEvent
-
- All Implemented Interfaces:
Event
,Serializable
public class BotAddedEvent extends Object implements Event
The bot_added event is sent to all connections for a workspace when an integration "bot" is added. Clients can use this to update their local list of bots.If the bot belongs to a Slack app, the event will also include an app_id pointing to its parent app.
https://api.slack.com/events/bot_added
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BotAddedEvent.Bot
-
Constructor Summary
Constructors Constructor Description BotAddedEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
BotAddedEvent.Bot
getBot()
String
getType()
int
hashCode()
void
setBot(BotAddedEvent.Bot bot)
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.slack.api.model.event.Event
getSubtype
-
-
-
-
Field Detail
-
TYPE_NAME
public static final String TYPE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBot
public BotAddedEvent.Bot getBot()
-
setBot
public void setBot(BotAddedEvent.Bot bot)
-
canEqual
protected boolean canEqual(Object other)
-
-