Class: TD::Types::Seconds

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/seconds.rb

Overview

Contains a value representing a number of seconds.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#secondsFloat

Number of seconds.

Returns:

  • (Float)

    the current value of seconds



5
6
7
# File 'lib/tdlib/types/seconds.rb', line 5

def seconds
  @seconds
end