Tourmaline::InputTextMessageContent
Inherits JSON::Serializable / Reference / Object
Represents the content of a text message to be sent as the result of an inline query.
Constructors
new(pull : JSON::PullParser)
Sourcenew(message_text : String, parse_mode : ParseMode = ParseMode::Markdown, entities : Array(Tourmaline::MessageEntity) = [] of Tourmaline::MessageEntity, disable_web_page_preview : Bool | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
Optional. Disables link previews for links in the sent message
entities
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
Optional. List of special entities that appear in message text, which can be specified instead of parse_mode
parse_mode
Optional. Mode for parsing entities in the message text. See formatting options for more details.
parse_mode=(parse_mode : ParseMode)
Optional. Mode for parsing entities in the message text. See formatting options for more details.