Class: TD::Types::Update::ChatTitle

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

Overview

The title of a chat was changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chat_idInteger

Chat identifier.

Returns:

  • (Integer)

    the current value of chat_id



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

def chat_id
  @chat_id
end

#titleString

The new chat title.

Returns:

  • (String)

    the current value of title



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

def title
  @title
end