struct Slack::Models::Chat::PostMessage

Defined in:

slack/models/chat/post_message.cr

Constant Summary

ASSIGNED_TYPES = [channel : String | ::Nil, message : JSON::Any, ok : Bool, ts : String] 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(message : JSON::Any, ok : Bool, ts : String, channel : String | Nil = nil) #

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

[View source]

Instance Method Detail

def channel : String | Nil #

def channel=(channel : String | Nil) #

def message : JSON::Any #

def message=(message : JSON::Any) #

def ok : Bool #

def ok=(ok : Bool) #

def ts : String #

def ts=(ts : String) #