Class: TD::Types::ChatNearby

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_nearby.rb

Overview

Describes a chat located nearby.

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/chat_nearby.rb', line 6

def chat_id
  @chat_id
end

#distanceInteger

Distance to the chat location in meters.

Returns:

  • (Integer)

    the current value of distance



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

def distance
  @distance
end