Class: TD::Types::Update::ConnectionState

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

Overview

The connection state has changed. This update must be used only to show a human-readable description of the connection state.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#stateTD::Types::ConnectionState

The new connection state.

Returns:



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

def state
  @state
end