Class: TD::Types::LinkPreviewType::Background
- Inherits:
-
TD::Types::LinkPreviewType
- Object
- Dry::Struct
- Base
- TD::Types::LinkPreviewType
- TD::Types::LinkPreviewType::Background
- Defined in:
- lib/tdlib/types/link_preview_type/background.rb
Overview
The link is a link to a background. Link preview title and description are available only for filled backgrounds.
Instance Attribute Summary collapse
-
#background_type ⇒ TD::Types::BackgroundType?
Type of the background; may be null if unknown.
-
#document ⇒ TD::Types::Document?
Document with the background; may be null for filled backgrounds.
Method Summary
Methods inherited from Base
Instance Attribute Details
#background_type ⇒ TD::Types::BackgroundType?
Type of the background; may be null if unknown.
7 8 9 |
# File 'lib/tdlib/types/link_preview_type/background.rb', line 7 def background_type @background_type end |
#document ⇒ TD::Types::Document?
Document with the background; may be null for filled backgrounds.
7 8 9 |
# File 'lib/tdlib/types/link_preview_type/background.rb', line 7 def document @document end |