class Tourmaline::ForumTopic

Overview

This object represents a forum topic.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message_thread_id : Int32 | Int64, name : String, icon_color : Int32 | Int64, icon_custom_emoji_id : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def icon_color : Int32 | Int64 #

Color of the topic icon in RGB format


[View source]
def icon_color=(icon_color : Int32 | Int64) #

Color of the topic icon in RGB format


[View source]
def icon_custom_emoji_id : String | Nil #

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


[View source]
def icon_custom_emoji_id=(icon_custom_emoji_id : String | Nil) #

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


[View source]
def message_thread_id : Int32 | Int64 #

Unique identifier of the forum topic


[View source]
def message_thread_id=(message_thread_id : Int32 | Int64) #

Unique identifier of the forum topic


[View source]
def name : String #

Name of the topic


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

Name of the topic


[View source]