class
Hamilton::Types::InputTextMessageContent
- Hamilton::Types::InputTextMessageContent
- Reference
- Object
Overview
Represents the content of a text message to be sent as the result of an inline query.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/input_message_content.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#entities : Array(Hamilton::Types::MessageEntity) | Nil
List of special entities that appear in message text, which can be specified instead of
#parse_mode. -
#entities=(entities : Array(Hamilton::Types::MessageEntity) | Nil)
List of special entities that appear in message text, which can be specified instead of
#parse_mode. -
#link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil
Link preview generation options for the message.
-
#link_preview_options=(link_preview_options : Hamilton::Types::LinkPreviewOptions | Nil)
Link preview generation options for the message.
-
#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.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#parse_mode : String | Nil
Mode for parsing entities in the message text.
-
#parse_mode=(parse_mode : String | Nil)
Mode for parsing entities in the message text.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
List of special entities that appear in message text, which can be specified instead of #parse_mode.
List of special entities that appear in message text, which can be specified instead of #parse_mode.
Link preview generation options for the message.
Link preview generation options for the message.