Class: TD::Types::MessageContent::Text
- Inherits:
-
TD::Types::MessageContent
- Object
- Dry::Struct
- Base
- TD::Types::MessageContent
- TD::Types::MessageContent::Text
- Defined in:
- lib/tdlib/types/message_content/text.rb
Overview
A text message.
Instance Attribute Summary collapse
-
#link_preview ⇒ TD::Types::LinkPreview?
A link preview attached to the message; may be null.
-
#link_preview_options ⇒ TD::Types::LinkPreviewOptions?
Options which were used for generation of the link preview; may be null if default options were used.
-
#text ⇒ TD::Types::FormattedText
Text of the message.
Method Summary
Methods inherited from Base
Instance Attribute Details
#link_preview ⇒ TD::Types::LinkPreview?
A link preview attached to the message; may be null.
8 9 10 |
# File 'lib/tdlib/types/message_content/text.rb', line 8 def link_preview @link_preview end |
#link_preview_options ⇒ TD::Types::LinkPreviewOptions?
Options which were used for generation of the link preview; may be null if default options were used.
8 9 10 |
# File 'lib/tdlib/types/message_content/text.rb', line 8 def @link_preview_options end |
#text ⇒ TD::Types::FormattedText
Text of the message.
8 9 10 |
# File 'lib/tdlib/types/message_content/text.rb', line 8 def text @text end |