Class: TD::Types::Update::ChatTheme

Inherits:
TD::Types::Update show all
Defined in:
lib/tdlib/types/update/chat_theme.rb

Overview

The chat theme was changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_id ⇒ Integer

Chat identifier.

Returns:

  • (Integer) —

    the current value of chat_id



7
8
9
# File 'lib/tdlib/types/update/chat_theme.rb', line 7

def chat_id
  @chat_id
end

#theme_name ⇒ TD::Types::String?

The new name of the chat theme; may be empty if theme was reset to default.

Returns:

  • (TD::Types::String, nil) —

    the current value of theme_name



7
8
9
# File 'lib/tdlib/types/update/chat_theme.rb', line 7

def theme_name
  @theme_name
end