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, team : String, text : String, ts : Time] of TypeDeclaration

Constructors

Instance Method Summary

Constructor Detail

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

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 #

def client_msg_id=(client_msg_id : String) #

def team : String #

def team=(team : String) #

def text : String #

def text=(text : String) #

def ts : Time #

def ts=(ts : Time) #