Class 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.
    • 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 sticker
        replyMarkup - Optional. Inline keyboard attached to the message
        inputMessageContent - Optional. Content of the message