struct Slack::Models::ConversationsHistory::MessageHistory

Included Modules

Defined in:

slack/models/conversations/conversations_history.cr

Constant Summary

ASSIGNED_TYPES = [blocks : Array(Hash(String, JSON::Any)) | ::Nil, files : Array(Hash(String, JSON::Any)) | ::Nil, latest_reply : String | ::Nil, reply_count : Int32 | ::Nil, reply_users : Array(String) | ::Nil, reply_users_count : Int32 | ::Nil, subtype : String | ::Nil, text : String | ::Nil, thread_ts : String | ::Nil, ts : String, type : String, user : String | ::Nil] of TypeDeclaration

Constructors

Instance Method Summary

Constructor Detail

def self.new(ts : String, type : String, blocks : Array(Hash(String, JSON::Any)) | Nil = nil, files : Array(Hash(String, JSON::Any)) | Nil = nil, latest_reply : String | Nil = nil, reply_count : Int32 | Nil = nil, reply_users : Array(String) | Nil = nil, reply_users_count : Int32 | Nil = nil, subtype : String | Nil = nil, text : String | Nil = nil, thread_ts : String | Nil = nil, user : String | Nil = nil) #

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

Instance Method Detail

def blocks : Array(Hash(String, JSON::Any)) | Nil #

def blocks=(blocks : Array(Hash(String, JSON::Any)) | Nil) #

def files : Array(Hash(String, JSON::Any)) | Nil #

def files=(files : Array(Hash(String, JSON::Any)) | Nil) #

def latest_reply : String | Nil #

def latest_reply=(latest_reply : String | Nil) #

def reply_count : Int32 | Nil #

def reply_count=(reply_count : Int32 | Nil) #

def reply_users : Array(String) | Nil #

def reply_users=(reply_users : Array(String) | Nil) #

def reply_users_count : Int32 | Nil #

def reply_users_count=(reply_users_count : Int32 | Nil) #

def subtype : String | Nil #

def subtype=(subtype : String | Nil) #

def text : String | Nil #

def text=(text : String | Nil) #

def thread_ts : String | Nil #

def thread_ts=(thread_ts : String | Nil) #

def ts : String #

def ts=(ts : String) #

def type : String #

def type=(type : String) #

def user : String | Nil #

def user=(user : String | Nil) #