class Tourmaline::ForumTopic
- Tourmaline::ForumTopic
- Reference
- Object
Overview
This object represents a forum topic.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(message_thread_id : Int32 | Int64, name : String, icon_color : Int32 | Int64, icon_custom_emoji_id : String | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#icon_color : Int32 | Int64
Color of the topic icon in RGB format
-
#icon_color=(icon_color : Int32 | Int64)
Color of the topic icon in RGB format
-
#icon_custom_emoji_id : String | Nil
Optional.
-
#icon_custom_emoji_id=(icon_custom_emoji_id : String | Nil)
Optional.
-
#message_thread_id : Int32 | Int64
Unique identifier of the forum topic
-
#message_thread_id=(message_thread_id : Int32 | Int64)
Unique identifier of the forum topic
-
#name : String
Name of the topic
-
#name=(name : String)
Name of the topic
Constructor Detail
def self.new(message_thread_id : Int32 | Int64, name : String, icon_color : Int32 | Int64, icon_custom_emoji_id : String | Nil = nil)
#
Instance Method Detail
def icon_custom_emoji_id : String | Nil
#
Optional. Unique identifier of the custom emoji shown as the topic icon
def icon_custom_emoji_id=(icon_custom_emoji_id : String | Nil)
#
Optional. Unique identifier of the custom emoji shown as the topic icon