Skip to content

ESPRMAdminCustomMessageTemplate

Defined in: src/ESPRMAdminCustomMessageTemplate.ts:11

Shell class for admin custom mobile push notification message template operations. Methods are added via prototype augmentation in methods/ESPRMAdminCustomMessageTemplate/*.

new ESPRMAdminCustomMessageTemplate(): ESPRMAdminCustomMessageTemplate

ESPRMAdminCustomMessageTemplate

createCustomMessageTemplate(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminCustomMessageTemplate/CreateCustomMessageTemplate.ts:22

Creates a new custom push notification message template.

CreateCustomMessageTemplateRequest

The custom message template configuration to create.

Promise<ESPAPISuccessResponse>

A success response confirming template creation.


deleteCustomMessageTemplate(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminCustomMessageTemplate/DeleteCustomMessageTemplate.ts:22

Deletes a custom push notification message template.

DeleteCustomMessageTemplateParams

Parameters identifying the template to delete.

Promise<ESPAPISuccessResponse>

A success response confirming the deletion.


getCustomMessageTemplates(params?): Promise<GetCustomMessageTemplatesResponse>

Defined in: src/methods/ESPRMAdminCustomMessageTemplate/GetCustomMessageTemplates.ts:22

Retrieves custom push notification message templates for the deployment.

GetCustomMessageTemplatesParams

Optional filter and pagination parameters.

Promise<GetCustomMessageTemplatesResponse>

The list of custom message templates.


updateCustomMessageTemplate(params): Promise<ESPAPISuccessResponse>

Defined in: src/methods/ESPRMAdminCustomMessageTemplate/UpdateCustomMessageTemplate.ts:22

Updates an existing custom push notification message template.

UpdateCustomMessageTemplateRequest

The updated custom message template configuration.

Promise<ESPAPISuccessResponse>

A success response confirming the update.