class Hamilton::Types::DirectMessagesTopic

Overview

Describes a topic of a direct messages chat.

Included Modules

Defined in:

types/direct_messages_topic.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

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

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def topic_id : Int32 #

Unique identifier of the topic


def topic_id=(topic_id : Int32) #

Unique identifier of the topic


def user : Hamilton::Types::User | Nil #

Information about the user that created the topic. Currently, it is always present.


def user=(user : Hamilton::Types::User | Nil) #

Information about the user that created the topic. Currently, it is always present.