InlineQueryResultCachedSticker
class InlineQueryResultCachedSticker implements InlineQueryResultInterface
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.
Methods
No description
Type of the result, must be sticker.
Unique identifier for this result, 1-64 bytes.
A valid file identifier of the sticker.
Optional. Inline keyboard attached to the message.
Optional. Content of the message to be sent instead of the sticker.
Details
at line 17
__construct(string $type, string $id, string $sticker_file_id, InlineKeyboardMarkup|null $reply_markup = null, InputMessageContentInterface|null $input_message_content = null)
No description
at line 29
string
getType()
Type of the result, must be sticker.
at line 37
string
getId()
Unique identifier for this result, 1-64 bytes.
at line 45
string
getStickerFileId()
A valid file identifier of the sticker.
at line 53
InlineKeyboardMarkup|null
getReplyMarkup()
Optional. Inline keyboard attached to the message.
at line 61
InputMessageContentInterface|null
getInputMessageContent()
Optional. Content of the message to be sent instead of the sticker.