Class: TD::Types::Update::ChatBackground

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

Overview

The chat background was changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#backgroundTD::Types::ChatBackground?

The new chat background; may be null if background was reset to default.

Returns:



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

def background
  @background
end

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end