Class: TD::Types::InputTextQuote
- Defined in:
- lib/tdlib/types/input_text_quote.rb
Overview
Describes manually chosen quote from another message.
Instance Attribute Summary collapse
-
#position ⇒ Integer
Quote position in the original message in UTF-16 code units.
-
#text ⇒ TD::Types::FormattedText
Text of the quote; 0-getOption(“message_reply_quote_length_max”) characters.
Method Summary
Methods inherited from Base
Instance Attribute Details
#position ⇒ Integer
Quote position in the original message in UTF-16 code units.
8 9 10 |
# File 'lib/tdlib/types/input_text_quote.rb', line 8 def position @position end |
#text ⇒ TD::Types::FormattedText
Text of the quote; 0-getOption(“message_reply_quote_length_max”) characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed to be kept and must be kept in the quote.
8 9 10 |
# File 'lib/tdlib/types/input_text_quote.rb', line 8 def text @text end |