mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-19 17:13:31 -04:00
feat: add deleteEmoji method to Server class (#94)
This commit is contained in:
@@ -714,4 +714,14 @@ export class Server {
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete emoji
|
||||
* @param emojiId Emoji ID
|
||||
*/
|
||||
async deleteEmoji(emojiId: string) {
|
||||
return await this.#collection.client.api.delete(
|
||||
`/custom/emoji/${emojiId}`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user