Class: TD::Types::InputMessageContent::Location
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::Location
- Defined in:
- lib/tdlib/types/input_message_content/location.rb
Overview
A message with a location.
Instance Attribute Summary collapse
-
#live_period ⇒ Integer
Period for which the location can be updated, in seconds; should bebetween 60 and 86400 for a live location and 0 otherwise.
-
#location ⇒ TD::Types::Location
Location to be sent.
Method Summary
Methods inherited from Base
Instance Attribute Details
#live_period ⇒ Integer
Period for which the location can be updated, in seconds; should bebetween 60 and 86400 for a live location and 0 otherwise.
7 8 9 |
# File 'lib/tdlib/types/input_message_content/location.rb', line 7 def live_period @live_period end |
#location ⇒ TD::Types::Location
Location to be sent.
7 8 9 |
# File 'lib/tdlib/types/input_message_content/location.rb', line 7 def location @location end |