class

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_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

entities

Optional. List of special entities that appear in message text, which can be specified instead of parse_mode

Source
entities=(entities : Array(Tourmaline::MessageEntity))

Optional. List of special entities that appear in message text, which can be specified instead of parse_mode

Source
message_text

Text of the message to be sent, 1-4096 characters

Source
message_text=(message_text : String)

Text of the message to be sent, 1-4096 characters

Source
parse_mode

Optional. Mode for parsing entities in the message text. See formatting options for more details.

Source
parse_mode=(parse_mode : ParseMode)

Optional. Mode for parsing entities in the message text. See formatting options for more details.

Source