Skip to content

class Tourmaline::ForumTopicCreated
inherits Reference #

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

Included modules

JSON::Serializable

Constructors#

.new(name, icon_color, icon_custom_emoji_id : String? = nil) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#icon_color : Int32 | Int64 #

Color of the topic icon in RGB format

View source

#icon_color=(icon_color : Int32 | Int64) #

Color of the topic icon in RGB format

View source

#icon_custom_emoji_id : String? #

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

View source

#icon_custom_emoji_id=(icon_custom_emoji_id : String?) #

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

View source

#name : String #

Name of the topic

View source

#name=(name : String) #

Name of the topic

View source