class
Hamilton::Types::InputMediaLocation
- Hamilton::Types::InputMediaLocation
- Reference
- Object
Overview
Represents a location to be sent.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/input_media.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#horizontal_accuracy : Float32 | Nil
The radius of uncertainty for the location, measured in meters; 0-1500.
-
#horizontal_accuracy=(horizontal_accuracy : Float32 | Nil)
The radius of uncertainty for the location, measured in meters; 0-1500.
-
#latitude : Float32
Latitude of the location
-
#latitude=(latitude : Float32)
Latitude of the location
-
#longitude : Float32
Longitude of the location
-
#longitude=(longitude : Float32)
Longitude of the location
-
#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.
-
#type : String
Type of the media, must be "location".
-
#type=(type : String)
Type of the media, must be "location".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def horizontal_accuracy : Float32 | Nil
#
The radius of uncertainty for the location, measured in meters; 0-1500.
def horizontal_accuracy=(horizontal_accuracy : Float32 | Nil)
#
The radius of uncertainty for the location, measured in meters; 0-1500.