Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Slack::Event
Inherits
Reference
/
Object
Constants
EVENT_MAP =
Hash
(
String
,
Slack::Event
.class).new
Class methods
call
(slack :
Slack
, event :
Slack::Event
)
Source
event_map
Source
get_event
(event_json :
String
)
Source
register
(type :
String
)
Source
register
(event :
Slack::Event
.class, *types :
String
)
Source
type
Source
Instance methods
call
(session :
Slack
, event :
Slack::Event
)
Source
raw
property type : String
Source
raw=
(raw :
JSON::Any
)
property type : String
Source
Nested types
Slack::Event::Hello
Slack::Event::Message
Slack::Event::PinAdded
Slack::Event::PresenceChange
Slack::Event::ReactionAdded
Slack::Event::Ready
Slack::Event::ReconnectUrl
Slack::Event::StarAdded
Slack::Event::StarRemoved
Slack::Event::Unimplemented
Slack::Event::UserChange
Slack::Event::UserTyping