class
Hamilton::Types::DirectMessagesTopic
- Hamilton::Types::DirectMessagesTopic
- Reference
- Object
Overview
Describes a topic of a direct messages chat.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/direct_messages_topic.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#topic_id : Int32
Unique identifier of the topic
-
#topic_id=(topic_id : Int32)
Unique identifier of the topic
-
#user : Hamilton::Types::User | Nil
Information about the user that created the topic.
-
#user=(user : Hamilton::Types::User | Nil)
Information about the user that created the topic.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
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.