class Hamilton::Types::BusinessLocation

Overview

Contains information about the location of a Telegram Business account.

Included Modules

Defined in:

types/business_location.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def address : String #

Address of the business.


def address=(address : String) #

Address of the business.


def location : Hamilton::Types::Location | Nil #

Location of the business.


def location=(location : Hamilton::Types::Location | Nil) #

Location of the business.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.