Class: TD::Types::DatedFile

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

Overview

File with the date it was uploaded.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#dateInteger

Point in time (Unix timestamp) when the file was uploaded.

Returns:

  • (Integer)

    the current value of date



6
7
8
# File 'lib/tdlib/types/dated_file.rb', line 6

def date
  @date
end

#fileTD::Types::File

The file.

Returns:



6
7
8
# File 'lib/tdlib/types/dated_file.rb', line 6

def file
  @file
end