Class: TD::Types::PageBlock::EmbeddedPost
- Inherits:
-
TD::Types::PageBlock
- Object
- Dry::Struct
- Base
- TD::Types::PageBlock
- TD::Types::PageBlock::EmbeddedPost
- Defined in:
- lib/tdlib/types/page_block/embedded_post.rb
Overview
An embedded post.
Instance Attribute Summary collapse
-
#author ⇒ TD::Types::String
Post author.
-
#author_photo ⇒ TD::Types::Photo?
Post author photo; may be null.
-
#caption ⇒ TD::Types::PageBlockCaption
Post caption.
-
#date ⇒ Integer
Point in time (Unix timestamp) when the post was created; 0 if unknown.
-
#page_blocks ⇒ Array<TD::Types::PageBlock>
Post content.
-
#url ⇒ TD::Types::String
Web page URL.
Method Summary
Methods inherited from Base
Instance Attribute Details
#author ⇒ TD::Types::String
Post author.
10 11 12 |
# File 'lib/tdlib/types/page_block/embedded_post.rb', line 10 def @author end |
#author_photo ⇒ TD::Types::Photo?
Post author photo; may be null.
10 11 12 |
# File 'lib/tdlib/types/page_block/embedded_post.rb', line 10 def @author_photo end |
#caption ⇒ TD::Types::PageBlockCaption
Post caption.
10 11 12 |
# File 'lib/tdlib/types/page_block/embedded_post.rb', line 10 def @caption end |
#date ⇒ Integer
Point in time (Unix timestamp) when the post was created; 0 if unknown.
10 11 12 |
# File 'lib/tdlib/types/page_block/embedded_post.rb', line 10 def date @date end |
#page_blocks ⇒ Array<TD::Types::PageBlock>
Post content.
10 11 12 |
# File 'lib/tdlib/types/page_block/embedded_post.rb', line 10 def page_blocks @page_blocks end |
#url ⇒ TD::Types::String
Web page URL.
10 11 12 |
# File 'lib/tdlib/types/page_block/embedded_post.rb', line 10 def url @url end |