struct Slack::Models::ConversationsHistory

Defined in:

slack/models/conversations/conversations_history.cr

Constant Summary

ASSIGNED_TYPES = [has_more : Bool, messages : Array(MessageHistory), pin_count : Int32, response_metadata : ResponseMetadata | ::Nil] of TypeDeclaration

Constructors

Instance Method Summary

Constructor methods inherited from struct Slack::Model

new(pull : JSON::PullParser) new

Class methods inherited from struct Slack::Model

keyed_json_object(json : String | IO, find_key : String, &)
keyed_json_object(json : String | IO, find_key : String)
keyed_json_object

Constructor Detail

def self.new(has_more : Bool, messages : Array(MessageHistory), pin_count : Int32, response_metadata : ResponseMetadata | Nil = nil) #

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

[View source]

Instance Method Detail

def has_more : Bool #

def has_more=(has_more : Bool) #

def messages : Array(MessageHistory) #

def messages=(messages : Array(MessageHistory)) #

def pin_count : Int32 #

def pin_count=(pin_count : Int32) #

def response_metadata : ResponseMetadata | Nil #

def response_metadata=(response_metadata : ResponseMetadata | Nil) #