class
Hamilton::Types::InlineQueryResultCachedSticker
- Hamilton::Types::InlineQueryResultCachedSticker
- Reference
- Object
Overview
Represents a link to a sticker stored on the Telegram servers. By default, this sticker will be sent by the user. Alternatively, you can use #input_message_content to send a message with the specified content instead of the sticker.
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
-
#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 | Nil
Content of the message to be sent instead of the sticker.
-
#input_message_content=(input_message_content : Hamilton::Types::InputMessageContent | Nil)
Content of the message to be sent instead of the sticker.
-
#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.
-
#sticker_file_id : String
A valid file identifier of the sticker.
-
#sticker_file_id=(sticker_file_id : String)
A valid file identifier of the sticker.
-
#type : String
Type of the result, must be "sticker".
-
#type=(type : String)
Type of the result, must be "sticker".
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 instead of the sticker.
Content of the message to be sent instead of the sticker.
Inline keyboard attached to the message.
Inline keyboard attached to the message.