struct Slack::EventData::MessageSubset

Included Modules

Defined in:

slack/events/event_data/message_subset.cr

Constant Summary

ASSIGNED_TYPES = [attachments : Array(Slack::EventData::Attachment) | ::Nil = [] of Slack::EventData::Attachment, client_msg_id : String | ::Nil, team : String | ::Nil, text : String, ts : String] of TypeDeclaration

Constructors

Instance Method Summary

Constructor Detail

def self.new(text : String, ts : String, attachments : Array(Slack::EventData::Attachment) | Nil = [] of Slack::EventData::Attachment, client_msg_id : String | Nil = nil, team : String | Nil = nil) #

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

[View source]

Instance Method Detail

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

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

def client_msg_id : String | Nil #

def client_msg_id=(client_msg_id : String | Nil) #

def team : String | Nil #

def team=(team : String | Nil) #

def text : String #

def text=(text : String) #

def ts : String #

def ts=(ts : String) #