struct

Telegram::TextQuote

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: TextQuote This object contains information about the quoted part of a message that is replied to by the given message.

Constructors

new(text : String, position : Int64, entities : Array(MessageEntity) | Nil = nil, is_manual : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
copy_with(text _text = @text, position _position = @position, entities _entities = @entities, is_manual _is_manual = @is_manual)
Source
entities
is_manual
position
text