class Hamilton::Types::ChatLocation

Overview

Represents a location to which a chat is connected.

Included Modules

Defined in:

types/chat_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 #

Location address; 1-64 characters, as defined by the chat owner.


def address=(address : String) #

Location address; 1-64 characters, as defined by the chat owner.


def location : Hamilton::Types::Location #

The location to which the supergroup is connected. Can't be a live location.


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

The location to which the supergroup is connected. Can't be a live location.


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.