Class: TD::Types::LinkPreviewType::Article
- Inherits:
-
TD::Types::LinkPreviewType
- Object
- Dry::Struct
- Base
- TD::Types::LinkPreviewType
- TD::Types::LinkPreviewType::Article
- Defined in:
- lib/tdlib/types/link_preview_type/article.rb
Overview
The link is a link to a web site.
Instance Attribute Summary collapse
-
#author ⇒ TD::Types::String
Author of the article.
-
#photo ⇒ TD::Types::Photo?
Article’s main photo; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#author ⇒ TD::Types::String
Author of the article.
6 7 8 |
# File 'lib/tdlib/types/link_preview_type/article.rb', line 6 def @author end |
#photo ⇒ TD::Types::Photo?
Article’s main photo; may be null.
6 7 8 |
# File 'lib/tdlib/types/link_preview_type/article.rb', line 6 def photo @photo end |