Skip to content

class Tourmaline::ChatLocation
inherits Reference #

Represents a location to which a chat is connected.

Included modules

JSON::Serializable

Constructors#

.new(location, address) #

View source

.new(pull : JSON::PullParser) #

View source

Methods#

#address : String #

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

View source

#address=(address : String) #

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

View source

#location : Tourmaline::Location #

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

View source

#location=(location : Tourmaline::Location) #

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

View source