class Slack::Event

Direct Known Subclasses

Defined in:

slack/event.cr
slack/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

Instance Method Summary

Class Method Detail

def self.call(slack : Slack, event : Slack::Event) #

[View source]
def self.event_map #

[View source]
def self.get_event(event_json : String) #

[View source]
def self.register(type : String) #

[View source]
def self.register(event : Slack::Event.class, *types : String) #

[View source]
def self.type #

[View source]

Instance Method Detail

def call(session : Slack, event : Slack::Event) #

[View source]
def raw : JSON::Any #

property type : String


[View source]
def raw=(raw : JSON::Any) #

property type : String


[View source]