Class: TD::Types::BusinessLocation

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

Overview

Represents a location of a business.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#addressTD::Types::String

Location address; 1-96 characters.

Returns:

  • (TD::Types::String)

    the current value of address



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

def address
  @address
end

#locationTD::Types::Location?

The location; may be null if not specified.

Returns:



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

def location
  @location
end