Class: TD::Types::InputMessageContent::Text
- Inherits:
-
TD::Types::InputMessageContent
- Object
- Dry::Struct
- Base
- TD::Types::InputMessageContent
- TD::Types::InputMessageContent::Text
- Defined in:
- lib/tdlib/types/input_message_content/text.rb
Overview
A text message.
Instance Attribute Summary collapse
-
#clear_draft ⇒ Boolean
True, if a chat message draft should be deleted.
-
#disable_web_page_preview ⇒ Boolean
True, if rich web page previews for URLs in the message text should be disabled.
-
#text ⇒ TD::Types::FormattedText
Formatted text to be sent; 1-GetOption(“message_text_length_max”) characters.
Method Summary
Methods inherited from Base
Instance Attribute Details
#clear_draft ⇒ Boolean
True, if a chat message draft should be deleted.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/text.rb', line 10 def clear_draft @clear_draft end |
#disable_web_page_preview ⇒ Boolean
True, if rich web page previews for URLs in the message text should be disabled.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/text.rb', line 10 def disable_web_page_preview @disable_web_page_preview end |
#text ⇒ TD::Types::FormattedText
Formatted text to be sent; 1-GetOption(“message_text_length_max”) characters. Only Bold, Italic, Underline, Strikethrough, Code, Pre, PreCode, TextUrl and MentionName entities are allowed to be specified manually.
10 11 12 |
# File 'lib/tdlib/types/input_message_content/text.rb', line 10 def text @text end |