Class: TD::Types::LinkPreviewType::Article

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

Overview

The link is a link to a web site.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#authorTD::Types::String

Author of the article.

Returns:

  • (TD::Types::String)

    the current value of author



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

def author
  @author
end

#photoTD::Types::Photo?

Article’s main photo; may be null.

Returns:



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

def photo
  @photo
end