Class InlineQueryResultCachedSticker
java.lang.Object
io.github.natanimn.telebof.types.inline.InlineQueryResultCachedSticker
- All Implemented Interfaces:
InlineQueryResult
,Serializable
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
inputMessageContent(io.github.natanimn.telebof.types.input.InputTextMessageContent)
to send a message with the specified content instead of the sticker.- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninputMessageContent
(InputTextMessageContent input_message_content) OptionalreplyMarkup
(InlineKeyboardMarkup keyboard) Optional
-
Constructor Details
-
InlineQueryResultCachedSticker
-
-
Method Details
-
inputMessageContent
public InlineQueryResultCachedSticker inputMessageContent(InputTextMessageContent input_message_content) Optional- Parameters:
input_message_content
- Content of the message to be sent instead of the sticker- Returns:
InlineQueryResultCachedSticker
-
replyMarkup
Optional- Parameters:
keyboard
-Inline keyboard
attached to the message- Returns:
InlineQueryResultCachedSticker
-