Skip to content

class Tourmaline::InputTextMessageContent
inherits Reference #

Represents the content of a text message to be sent as the result of an inline query.

Included modules

JSON::Serializable

Constructors#

.new(pull : JSON::PullParser) #

View source
View source

Methods#

#entities : Array(Tourmaline::MessageEntity) #

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

View source

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

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

View source

Optional. Link preview generation options for the message

View source

Optional. Link preview generation options for the message

View source

#message_text : String #

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

View source

#message_text=(message_text : String) #

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

View source

#parse_mode : ParseMode #

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

View source

#parse_mode=(parse_mode : ParseMode) #

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

View source