class
Hamilton::Types::ChatLocation
- Hamilton::Types::ChatLocation
- Reference
- Object
Overview
Represents a location to which a chat is connected.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/chat_location.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#address : String
Location address; 1-64 characters, as defined by the chat owner.
-
#address=(address : String)
Location address; 1-64 characters, as defined by the chat owner.
-
#location : Hamilton::Types::Location
The location to which the supergroup is connected.
-
#location=(location : Hamilton::Types::Location)
The location to which the supergroup is connected.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
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.