Class: TD::Types::PageBlockRelatedArticle
- Defined in:
- lib/tdlib/types/page_block_related_article.rb
Overview
Contains information about a related article.
Instance Attribute Summary collapse
-
#author ⇒ TD::Types::String?
Article author; may be empty.
-
#description ⇒ TD::Types::String?
Article description; may be empty.
-
#photo ⇒ TD::Types::Photo?
Article photo; may be null.
-
#publish_date ⇒ Integer
Point in time (Unix timestamp) when the article was published; 0 if unknown.
-
#title ⇒ TD::Types::String?
Article title; may be empty.
-
#url ⇒ TD::Types::String
Related article URL.
Method Summary
Methods inherited from Base
Instance Attribute Details
#author ⇒ TD::Types::String?
Article author; may be empty.
10 11 12 |
# File 'lib/tdlib/types/page_block_related_article.rb', line 10 def @author end |
#description ⇒ TD::Types::String?
Article description; may be empty.
10 11 12 |
# File 'lib/tdlib/types/page_block_related_article.rb', line 10 def description @description end |
#photo ⇒ TD::Types::Photo?
Article photo; may be null.
10 11 12 |
# File 'lib/tdlib/types/page_block_related_article.rb', line 10 def photo @photo end |
#publish_date ⇒ Integer
Point in time (Unix timestamp) when the article was published; 0 if unknown.
10 11 12 |
# File 'lib/tdlib/types/page_block_related_article.rb', line 10 def publish_date @publish_date end |
#title ⇒ TD::Types::String?
Article title; may be empty.
10 11 12 |
# File 'lib/tdlib/types/page_block_related_article.rb', line 10 def title @title end |
#url ⇒ TD::Types::String
Related article URL.
10 11 12 |
# File 'lib/tdlib/types/page_block_related_article.rb', line 10 def url @url end |