Class InlineQueryResultCachedSticker
- java.lang.Object
-
- com.cadiducho.telegrambotapi.inline.InlineQueryResult
-
- com.cadiducho.telegrambotapi.inline.InlineQueryResultCachedSticker
-
public class InlineQueryResultCachedSticker extends InlineQueryResult
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.
-
-
Field Summary
-
Fields inherited from class com.cadiducho.telegrambotapi.inline.InlineQueryResult
id, inputMessageContent, replyMarkup, type
-
-
Constructor Summary
Constructors Constructor Description InlineQueryResultCachedSticker()
InlineQueryResultCachedSticker(String stickerFileId)
InlineQueryResultCachedSticker(String stickerFileId, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
-
-
-
Constructor Detail
-
InlineQueryResultCachedSticker
public InlineQueryResultCachedSticker()
-
InlineQueryResultCachedSticker
public InlineQueryResultCachedSticker(String stickerFileId)
- Parameters:
stickerFileId
- A valid file identifier of the sticker
-
InlineQueryResultCachedSticker
public InlineQueryResultCachedSticker(String stickerFileId, InlineKeyboardMarkup replyMarkup, InputMessageContent inputMessageContent)
- Parameters:
stickerFileId
- A valid file identifier of the stickerreplyMarkup
- Optional. Inline keyboard attached to the messageinputMessageContent
- Optional. Content of the message
-
-