struct Slack::Events::Message

Defined in:

slack/events/event_types/message.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Slack::Event

team_id : String | Nil team_id, team_id=(team_id : String | Nil) team_id=, type : String type, type=(type : String) type=

Constructor methods inherited from struct Slack::Event

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def attachments : Array(Slack::EventData::Attachment) | Nil #

[View source]
def attachments=(attachments : Array(Slack::EventData::Attachment) | Nil) #

[View source]
def blocks : Array(JSON::Any) #

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

[View source]
def channel : String #

[View source]
def channel=(channel : String) #

[View source]
def channel_type : String #

[View source]
def channel_type=(channel_type : String) #

[View source]
def client_msg_id : String | Nil #

[View source]
def client_msg_id=(client_msg_id : String | Nil) #

[View source]
def im? #

[View source]
def parent_user_id : String | Nil #

[View source]
def parent_user_id=(parent_user_id : String | Nil) #

[View source]
def private_channel? #

[View source]
def public_channel? #

[View source]
def team : String #

[View source]
def team=(team : String) #

[View source]
def text : String #

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

[View source]
def thread? #

[View source]
def thread_ts : String | Nil #

[View source]
def thread_ts=(thread_ts : String | Nil) #

[View source]
def ts : String | Nil #

[View source]
def ts=(ts : String | Nil) #

[View source]
def user : String #

[View source]
def user=(user : String) #

[View source]