Class: TD::Types::ForumTopicIcon

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/forum_topic_icon.rb

Overview

Describes a forum topic icon.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#colorInteger

Color of the topic icon in RGB format.

Returns:

  • (Integer)

    the current value of color



6
7
8
# File 'lib/tdlib/types/forum_topic_icon.rb', line 6

def color
  @color
end

#custom_emoji_idInteger

Unique identifier of the custom emoji shown on the topic icon; 0 if none.

Returns:

  • (Integer)

    the current value of custom_emoji_id



6
7
8
# File 'lib/tdlib/types/forum_topic_icon.rb', line 6

def custom_emoji_id
  @custom_emoji_id
end