Class: TD::Types::LinkPreviewType::Document

Inherits:
TD::Types::LinkPreviewType show all
Defined in:
lib/tdlib/types/link_preview_type/document.rb

Overview

The link is a link to a general file.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#authorTD::Types::String

Author of the document.

Returns:

  • (TD::Types::String)

    the current value of author



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

def author
  @author
end

#documentTD::Types::Document

The document description.

Returns:



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

def document
  @document
end