class Slack::Event::Message

Overview

Implements https://api.slack.com/events/message

Direct Known Subclasses

Defined in:

slack/events/message.cr
slack/events/message/pinned_item.cr

Instance Method Summary

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

Instance Method Detail

def from(person : User | Nil) #

[View source]
def mentioned_users #

[View source]
def mentions(s : String) #

[View source]
def mentions(s : Array(String)) #

[View source]
def mentions(person : User | Nil) #

[View source]
def mentions(users : Array(User)) #

[View source]
def mentions(*s : String) #

[View source]
def mentions(*users : User) #

[View source]
def post(text : String) #

[View source]
def reply(text : String) #

[View source]