struct Slack::Models::DirectMessage

Defined in:

slack/models/conversations/messages/direct_message.cr

Constant Summary

ASSIGNED_TYPES = [] of TypeDeclaration

Constructors

Class Method Summary

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

Macros inherited from module Slack::JSONRecords

json_record(klass, *type_declarations) json_record

Macros inherited from module Slack::InitializerMacros

generate_initializer generate_initializer, inherit_assigns inherit_assigns, properties_with_initializer(*type_declarations) properties_with_initializer, setup_initializer_hook setup_initializer_hook

Constructor Detail

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

[View source]

Class Method Detail

def self.from_json(json : String | IO) #

[View source]

Instance Method Detail

def user : String #

[View source]
def user=(user : String) #

[View source]