ApplicationShorter

Signature

export declare class ApplicationShorter extends BaseShorter

Methods

getEmoji(emojiId: string, force?: boolean): Promise<ApplicationEmojiStructure>;

Gets an emoji for the application.

Parameters
emojiId
The ID of the emoji.
Returns

The emoji.

deleteEmoji(emojiId: string): Promise<void>;

Deletes an emoji for the application.

Parameters
emojiId
The ID of the emoji.
consumeEntitlement(entitlementId: string): Promise<undefined>;

Consumes an entitlement for the application.

Parameters
entitlementId
The ID of the entitlement.
deleteTestEntitlement(entitlementId: string): Promise<undefined>;

Deletes a test entitlement for the application.

Parameters
entitlementId
The ID of the entitlement.