class Hamilton::Types::ForumTopic

Overview

This object represents a forum topic.

Included Modules

Defined in:

types/forum_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 icon_color : Int32 #

Color of the topic icon in RGB format.


def icon_color=(icon_color : Int32) #

Color of the topic icon in RGB format.


def icon_custom_emoji_id : String | Nil #

Unique identifier of the custom emoji shown as the topic icon.


def icon_custom_emoji_id=(icon_custom_emoji_id : String | Nil) #

Unique identifier of the custom emoji shown as the topic icon.


def message_thread_id : Int32 #

Unique identifier of the forum topic.


def message_thread_id=(message_thread_id : Int32) #

Unique identifier of the forum topic.


def name : String #

Name of the topic.


def name=(name : String) #

Name of the topic.


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.