Sha256: 2fea60853d46178ffeda29baeec6e16a8c58119aba66c48b1cd4c0666b2198e8

Contents?: true

Size: 609 Bytes

Versions: 3

Compression:

Stored size: 609 Bytes

Contents

module TD::Types
  # A message with a location.
  #
  # @attr location [TD::Types::Location] Message content.
  # @attr live_period [Integer] Time relative to the message sent date until which the location can be updated, in
  #   seconds.
  # @attr expires_in [Integer] Left time for which the location can be updated, in seconds.
  #   {TD::Types::Update::MessageContent} is not sent when this field changes.
  class MessageContent::Location < MessageContent
    attribute :location, TD::Types::Location
    attribute :live_period, TD::Types::Integer
    attribute :expires_in, TD::Types::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/message_content/location.rb
tdlib-ruby-2.1.0 lib/tdlib/types/message_content/location.rb
tdlib-ruby-2.0.0 lib/tdlib/types/message_content/location.rb