class Slack::Event::Message
- Slack::Event::Message
- Slack::Event
- Reference
- Object
Overview
Implements https://api.slack.com/events/message
Direct Known Subclasses
Defined in:
slack/events/message.crslack/events/message/pinned_item.cr
Instance Method Summary
- #from(person : User | Nil)
- #mentioned_users
- #mentions(s : String)
- #mentions(s : Array(String))
- #mentions(person : User | Nil)
- #mentions(users : Array(User))
- #mentions(*s : String)
- #mentions(*users : User)
- #post(text : String)
- #reply(text : String)
Instance methods inherited from class Slack::Event
call(session : Slack, event : Slack::Event)
call,
raw : JSON::Any
raw,
raw=(raw : JSON::Any)
raw=
Class methods inherited from class Slack::Event
call(slack : Slack, event : Slack::Event)
call,
event_map
event_map,
get_event(event_json : String)
get_event,
register(type : String)register(event : Slack::Event.class, *types : String) register, type type