Class: TD::Types::FileDownload
- Defined in:
- lib/tdlib/types/file_download.rb
Overview
Describes a file added to file download list.
Instance Attribute Summary collapse
-
#add_date ⇒ Integer
Point in time (Unix timestamp) when the file was added to the download list.
-
#complete_date ⇒ Integer
Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn’t completed.
-
#file_id ⇒ Integer
File identifier.
-
#is_paused ⇒ Boolean
True, if downloading of the file is paused.
-
#message ⇒ TD::Types::Message
The message with the file.
Method Summary
Methods inherited from Base
Instance Attribute Details
#add_date ⇒ Integer
Point in time (Unix timestamp) when the file was added to the download list.
10 11 12 |
# File 'lib/tdlib/types/file_download.rb', line 10 def add_date @add_date end |
#complete_date ⇒ Integer
Point in time (Unix timestamp) when the file downloading was completed; 0 if the file downloading isn’t completed.
10 11 12 |
# File 'lib/tdlib/types/file_download.rb', line 10 def complete_date @complete_date end |
#file_id ⇒ Integer
File identifier.
10 11 12 |
# File 'lib/tdlib/types/file_download.rb', line 10 def file_id @file_id end |
#is_paused ⇒ Boolean
True, if downloading of the file is paused.
10 11 12 |
# File 'lib/tdlib/types/file_download.rb', line 10 def is_paused @is_paused end |
#message ⇒ TD::Types::Message
The message with the file.
10 11 12 |
# File 'lib/tdlib/types/file_download.rb', line 10 def @message end |