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
-
#text ⇒ TD::Types::FormattedText
Text of the message.
-
#web_page ⇒ TD::Types::WebPage?
A preview of the web page that’s mentioned in the text; may be null.
Method Summary
Methods inherited from Base
Instance Attribute Details
#text ⇒ TD::Types::FormattedText
Text of the message.
6 7 8 |
# File 'lib/tdlib/types/message_content/text.rb', line 6 def text @text end |
#web_page ⇒ TD::Types::WebPage?
A preview of the web page that’s mentioned in the text; may be null.
6 7 8 |
# File 'lib/tdlib/types/message_content/text.rb', line 6 def web_page @web_page end |