Class: TD::Types::TextQuote
- Defined in:
- lib/tdlib/types/text_quote.rb
Overview
Describes manually or automatically chosen quote from another message.
Instance Attribute Summary collapse
-
#is_manual ⇒ Boolean
True, if the quote was manually chosen by the message sender.
-
#position ⇒ Integer
Approximate quote position in the original message in UTF-16 code units as specified by the message sender.
-
#text ⇒ TD::Types::FormattedText
Text of the quote.
Method Summary
Methods inherited from Base
Instance Attribute Details
#is_manual ⇒ Boolean
True, if the quote was manually chosen by the message sender.
9 10 11 |
# File 'lib/tdlib/types/text_quote.rb', line 9 def is_manual @is_manual end |
#position ⇒ Integer
Approximate quote position in the original message in UTF-16 code units as specified by the message sender.
9 10 11 |
# File 'lib/tdlib/types/text_quote.rb', line 9 def position @position end |
#text ⇒ TD::Types::FormattedText
Text of the quote. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities can be present in the text.
9 10 11 |
# File 'lib/tdlib/types/text_quote.rb', line 9 def text @text end |