class

Tourmaline::DirectMessagesTopic

Inherits JSON::Serializable < Reference < Object

Describes a topic of a direct messages chat.

Constructors

new(topic_id : Int32 | Int64, user : Tourmaline::User | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

topic_id

Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.

Source
topic_id=(topic_id : Int32 | Int64)

Unique identifier of the topic. This number may have more than 32 significant bits and some programming languages may have difficulty/silent defects in interpreting it. But it has at most 52 significant bits, so a 64-bit integer or double-precision float type are safe for storing this identifier.

Source
user

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

Source
user=(user : Tourmaline::User | Nil)

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

Source