Class: TD::Types::MessageContent::Location
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Location
- Defined in:
- lib/tdlib/types/message_content/location.rb
Overview
A message with a location.
Instance Attribute Summary collapse
-
#expires_in ⇒ Integer
Left time for which the location can be updated, in seconds.
-
#live_period ⇒ Integer
Time relative to the message sent date until which the location can be updated, in seconds.
-
#location ⇒ TD::Types::Location
Message content.
Method Summary
Methods inherited from Base
Instance Attribute Details
#expires_in ⇒ Integer
Left time for which the location can be updated, in seconds. Update::MessageContent is not sent when this field changes.
9 10 11 |
# File 'lib/tdlib/types/message_content/location.rb', line 9 def expires_in @expires_in end |
#live_period ⇒ Integer
Time relative to the message sent date until which the location can be updated, in seconds.
9 10 11 |
# File 'lib/tdlib/types/message_content/location.rb', line 9 def live_period @live_period end |
#location ⇒ TD::Types::Location
Message content.
9 10 11 |
# File 'lib/tdlib/types/message_content/location.rb', line 9 def location @location end |