Class: TD::Types::MessageContent::ForumTopicEdited

Inherits:
TD::Types::MessageContent show all
Defined in:
lib/tdlib/types/message_content/forum_topic_edited.rb

Overview

A forum topic has been edited.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#edit_icon_custom_emoji_idBoolean

True, if icon’s custom_emoji_id is changed.

Returns:

  • (Boolean)

    the current value of edit_icon_custom_emoji_id



8
9
10
# File 'lib/tdlib/types/message_content/forum_topic_edited.rb', line 8

def edit_icon_custom_emoji_id
  @edit_icon_custom_emoji_id
end

#icon_custom_emoji_idInteger

New unique identifier of the custom emoji shown on the topic icon; 0 if none. Must be ignored if edit_icon_custom_emoji_id is false.

Returns:

  • (Integer)

    the current value of icon_custom_emoji_id



8
9
10
# File 'lib/tdlib/types/message_content/forum_topic_edited.rb', line 8

def icon_custom_emoji_id
  @icon_custom_emoji_id
end

#nameTD::Types::String

If non-empty, the new name of the topic.

Returns:

  • (TD::Types::String)

    the current value of name



8
9
10
# File 'lib/tdlib/types/message_content/forum_topic_edited.rb', line 8

def name
  @name
end