class Telegram::API::ChatLocation

Overview

Represents a location to which a chat is connected.

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telegram::API::Type

==(other) ==, client client

Constructor methods inherited from class Telegram::API::Type

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(location : Location, address : String) #

[View source]
def self.new(pull : JSON::PullParser) #

Represents a location to which a chat is connected.


[View source]

Instance Method Detail

def address : String #

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


[View source]
def address=(address : String) #

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


[View source]
def location : Location #

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


[View source]
def location=(location : Location) #

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


[View source]