class
Hamilton::Types::InlineQueryResultArticle
- Hamilton::Types::InlineQueryResultArticle
- Reference
- Object
Overview
Represents a link to an article or web page.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/inline_query_result.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#description : String | Nil
Short description of the result.
-
#description=(description : String | Nil)
Short description of the result.
-
#id : String
Unique identifier for this result, 1-64 Bytes.
-
#id=(id : String)
Unique identifier for this result, 1-64 Bytes.
-
#input_message_content : Hamilton::Types::InputMessageContent
Content of the message to be sent.
-
#input_message_content=(input_message_content : Hamilton::Types::InputMessageContent)
Content of the message to be sent.
-
#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.
-
#reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil
Inline keyboard attached to the message.
-
#reply_markup=(reply_markup : Hamilton::Types::InlineKeyboardMarkup | Nil)
Inline keyboard attached to the message.
-
#thumbnail_height : Int32 | Nil
Thumbnail height.
-
#thumbnail_height=(thumbnail_height : Int32 | Nil)
Thumbnail height.
-
#thumbnail_url : String | Nil
Url of the thumbnail for the result.
-
#thumbnail_url=(thumbnail_url : String | Nil)
Url of the thumbnail for the result.
-
#thumbnail_width : Int32 | Nil
Thumbnail width.
-
#thumbnail_width=(thumbnail_width : Int32 | Nil)
Thumbnail width.
-
#title : String
Title of the result.
-
#title=(title : String)
Title of the result.
-
#type : String
Type of the result, must be "article".
-
#type=(type : String)
Type of the result, must be "article".
-
#url : String | Nil
URL of the result.
-
#url=(url : String | Nil)
URL of the result.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Content of the message to be sent.
Content of the message to be sent.
Inline keyboard attached to the message.
Inline keyboard attached to the message.