Class InlineQueryResultCachedStickerType.
Methods
create()
create(string $id, string $stickerFileId, array|null $data = null
) : \TgBotApi\BotApiBase\Type\InlineQueryResult\InlineQueryResultCachedStickerType
Static
Parameters
$id
string
$stickerFileId
string
$data
array
null
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Returns
\TgBotApi\BotApiBase\Type\InlineQueryResult\InlineQueryResultCachedStickerType
fill()
fill(array $data, array $forbidden = array()
)
Inherited
Parameters
$data
array
$forbidden
array
Exceptions
\TgBotApi\BotApiBase\Exception\BadArgumentException |
|
Properties
Optional. Content of the message to be sent instead of the sticker.
$inputMessageContent : \TgBotApi\BotApiBase\Type\InputMessageContent\InputMessageContentType | null
A valid file identifier of the sticker.
$stickerFileId : string