await showSuccessNotice(ctx, {
title: 'choosing random book',
description: 'Picking a book on Amazon based on preferred genre.',
subtitle: t('success.subtitle'),
text: 'The request has been processed successfully. You can now dismiss Assistant and work on a new task.',
buttons: [{
text: 'success',
value: 'ok',
}],
});
await showSuccessNotice(ctx, {
title: 'Filling Form.',
description: 'This step will fill the needed information inside the form.',
icon: 'icon',
iconColor: 'color',
subtitle: '#subtitle',
text: 'The form has been filled successfully. You can now submit the form and dismiss Assistant, then start working on a new task.',
buttons: [{
value: 'ok',
text: 'success',
disabled: false,
}],
});
await showNotice(ctx, {
title: 'Matterway Skill.',
description: 'Fetching and filtering data.',
text: 'All data has been fetched and filtered.',
statuses: [
{text: 'Data fetched successfully.'},
{text: 'Data filtered successfully.'},
],
buttons: [{
value: 'ok',
text: 'Thank you.'
}],
})
Generated using TypeDoc
Shows a success notice in a bubble to the user.