class Telegram::API::InputTextMessageContent
- Telegram::API::InputTextMessageContent
- Telegram::API::Type
- Reference
- Object
Overview
Represents the content of a text message to be sent as the result of an inline query.
Defined in:
telegram/api/generated/types.crConstructors
-
.new(pull : JSON::PullParser)
Represents the content of a text message to be sent as the result of an inline query.
- .new(message_text : String, parse_mode : ParseMode | Nil = nil, disable_web_page_preview : Bool | Nil = nil, entities : Array(MessageEntity) = Array(MessageEntity).new)
Instance Method Summary
-
#disable_web_page_preview : Bool | Nil
Optional.
-
#disable_web_page_preview=(disable_web_page_preview : Bool | Nil)
Optional.
-
#entities : Array(MessageEntity)
Optional.
-
#entities=(entities : Array(MessageEntity))
Optional.
-
#message_text : String
Text of the message to be sent, 1-4096 characters
-
#message_text=(message_text : String)
Text of the message to be sent, 1-4096 characters
-
#parse_mode : ParseMode | Nil
Optional.
-
#parse_mode=(parse_mode : ParseMode | Nil)
Optional.
Instance methods inherited from class Telegram::API::Type
==(other)
==,
client
client
Constructor methods inherited from class Telegram::API::Type
new(pull : JSON::PullParser)
new
Constructor Detail
Represents the content of a text message to be sent as the result of an inline query.
Instance Method Detail
Optional. Disables link previews for links in the sent message
Optional. Disables link previews for links in the sent message
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
Optional. Mode for parsing entities in the message text. See formatting options for more details.
Optional. Mode for parsing entities in the message text. See formatting options for more details.