Skip to content

@mbanq/core-sdk-js v0.50.0


@mbanq/core-sdk-js / commands / GetTemplates

Function: GetTemplates()

GetTemplates(): Command<{ }, object[]>

Defined in: src/commands/rest/notification.ts:67

Retrieves a list of notification templates.

Returns

Command<{ }, object[]>

A Command that when executed returns the list of templates

Example

typescript
const getTemplatesCmd = GetTemplates();
const templates = await getTemplatesCmd.execute(config);
console.log(templates);

Released under the MIT License.