class Slack::Event
- Slack::Event
- Reference
- Object
Direct Known Subclasses
- 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
Defined in:
slack/event.crslack/events/hello.cr
slack/events/message.cr
slack/events/message/pinned_item.cr
slack/events/presence_change.cr
slack/events/reaction_added.cr
slack/events/ready.cr
slack/events/reconnect_url.cr
slack/events/star_added.cr
slack/events/unimplemented.cr
slack/events/user_change.cr
slack/events/user_typing.cr
Constant Summary
-
EVENT_MAP =
Hash(String, Slack::Event.class).new
Class Method Summary
- .call(slack : Slack, event : Slack::Event)
- .event_map
- .get_event(event_json : String)
- .register(type : String)
- .register(event : Slack::Event.class, *types : String)
- .type
Instance Method Summary
- #call(session : Slack, event : Slack::Event)
-
#raw : JSON::Any
property type : String
-
#raw=(raw : JSON::Any)
property type : String