.create(packType, body)
packType: PackType, body: PackCreateOptions → Promise<PackSummaryPayload>
Create a pack.
await client.packs.create(packType, body);Class
REST wrappers for /packs/*. Access via client.packs.
new PackManager(client: Client)ClientpackType: PackType, body: PackCreateOptions → Promise<PackSummaryPayload>
Create a pack.
await client.packs.create(packType, body);packId: string, options: ExpressionCreateOptions → Promise<PackEmojiPayload>
Create an emoji in a pack.
await client.packs.createEmoji(packId, options);packId: string, emojis: ExpressionCreateOptions[] → Promise<PackBulkCreatePayload<PackEmojiPayload>>
Bulk-create emojis in a pack.
await client.packs.createEmojisBulk(packId, emojis);packId: string, options: PackInviteCreateOptions → Promise<PackInvitePayload>
Create an invite for a pack.
await client.packs.createInvite(packId, options);packId: string, options: StickerCreateOptions → Promise<PackStickerPayload>
Create a sticker in a pack.
await client.packs.createSticker(packId, options);packId: string, stickers: StickerCreateOptions[] → Promise<PackBulkCreatePayload<PackStickerPayload>>
Bulk-create stickers in a pack.
await client.packs.createStickersBulk(packId, stickers);packId: string → Promise<void>
Delete a pack.
await client.packs.delete(packId);packId: string, emojiId: string → Promise<void>
Delete an emoji from a pack.
await client.packs.deleteEmoji(packId, emojiId);packId: string, stickerId: string → Promise<void>
Delete a sticker from a pack.
await client.packs.deleteSticker(packId, stickerId);packId: string, body: PackEditOptions → Promise<PackSummaryPayload>
Edit a pack.
await client.packs.edit(packId, body);packId: string, emojiId: string, options: ExpressionEditOptions → Promise<PackEmojiPayload>
Edit an emoji in a pack.
await client.packs.editEmoji(packId, emojiId, options);packId: string, stickerId: string, options: StickerEditOptions → Promise<PackStickerPayload>
Edit a sticker in a pack.
await client.packs.editSticker(packId, stickerId, options);→ Promise<PackDashboardPayload>
Fetch the current user's pack dashboard (camelCase summaries).
await client.packs.fetchDashboard();packId: string → Promise<void>
Install a pack for the current user.
await client.packs.install(packId);packId: string → Promise<PackEmojiPayload[]>
List emojis in a pack.
await client.packs.listEmojis(packId);packId: string → Promise<PackInvitePayload[]>
List invites for a pack.
await client.packs.listInvites(packId);packId: string → Promise<PackStickerPayload[]>
List stickers in a pack.
await client.packs.listStickers(packId);packId: string → Promise<void>
Uninstall a pack for the current user.
await client.packs.uninstall(packId);