Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Insert sticker.
static insertSticker(path: string): Promise<APIResponse<boolean>>;
path
string
.sticker
APIResponse<boolean>
result === true
import { PluginCommAPI } from 'sn-plugin-lib'; /** * Insert sticker example. */ export async function exampleInsertSticker() { const stickerPath = '/storage/emulated/0/Note/stickers/demo.sticker'; const res = await PluginCommAPI.insertSticker(stickerPath); if (!res.success) { throw new Error(res.error?.message ?? 'insertSticker call failed'); } return res.result; }