Class: TD::Types::Update::NewChat

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

Overview

A new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the client. The chat field changes will be reported through separate updates.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#chatTD::Types::Chat

The chat.

Returns:



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

def chat
  @chat
end