Class: Telegram::Bot::Types::ForumTopic
- Defined in:
- sig/telegram/bot/types/forum_topic.rbs
Instance Attribute Summary collapse
-
#icon_color ⇒ Integer
readonly
Returns the value of attribute icon_color.
-
#icon_custom_emoji_id ⇒ String?
readonly
Returns the value of attribute icon_custom_emoji_id.
-
#is_name_implicit ⇒ true?
readonly
Returns the value of attribute is_name_implicit.
-
#message_thread_id ⇒ Integer
readonly
Returns the value of attribute message_thread_id.
-
#name ⇒ String
readonly
Returns the value of attribute name.
Attributes inherited from Base
Class Method Summary collapse
Methods included from Compactable
Methods included from PatternMatching
Instance Attribute Details
#icon_color ⇒ Integer (readonly)
Returns the value of attribute icon_color.
10 11 12 |
# File 'sig/telegram/bot/types/forum_topic.rbs', line 10 def icon_color @icon_color end |
#icon_custom_emoji_id ⇒ String? (readonly)
Returns the value of attribute icon_custom_emoji_id.
11 12 13 |
# File 'sig/telegram/bot/types/forum_topic.rbs', line 11 def icon_custom_emoji_id @icon_custom_emoji_id end |
#is_name_implicit ⇒ true? (readonly)
Returns the value of attribute is_name_implicit.
12 13 14 |
# File 'sig/telegram/bot/types/forum_topic.rbs', line 12 def is_name_implicit @is_name_implicit end |
#message_thread_id ⇒ Integer (readonly)
Returns the value of attribute message_thread_id.
8 9 10 |
# File 'sig/telegram/bot/types/forum_topic.rbs', line 8 def @message_thread_id end |
#name ⇒ String (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'sig/telegram/bot/types/forum_topic.rbs', line 9 def name @name end |
Class Method Details
.new(message_thread_id:, name:, icon_color:, icon_custom_emoji_id:, is_name_implicit:) ⇒ instance .new(attributes) ⇒ instance
6 7 |
# File 'sig/telegram/bot/types/forum_topic.rbs', line 6
def self.new: (message_thread_id: Integer, name: String, icon_color: Integer, ?icon_custom_emoji_id: String, ?is_name_implicit: true) -> instance
| (?Hash[Symbol | String, untyped] attributes) -> instance
|