class Tourmaline::ForumTopicCreated

Overview

This object represents a service message about a new forum topic created in the chat.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(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 name : String #

Name of the topic


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

Name of the topic


[View source]