Matterway
    Preparing search index...

    Function showNotice

    • Shows a notice in a bubble to the user, it can be extensively customized with:

      • Add multiple buttons
      • Include status messages
      • Incorporate Clicker game
      • Use icons and custom colors

      Parameters

      Returns Promise<NoticeBubbleResult>

      await showNotice(ctx, {
      title: 'choosing random book',
      description: 'Picking a book on Amazon based on preferred genre.',
      subtitle: '#subtitle',
      text: 'please sign in on your account to continue.',
      buttons: [{
      text: 'proceed',
      value: 'ok',
      }],
      });
      await showNotice(ctx, {
      title: 'Fetching Data.',
      description: 'We are gathering all needed data from your website.',
      icon: 'document',
      iconColor: 'white',
      subtitle: '#subtitle',
      text: 'Data is being fetched, please wait.',
      buttons: [
      {
      value: 'ok',
      text: 'proceed',
      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.'
      }],
      });
      await showNotice(ctx, {
      title: 'Fetching Data.',
      description: 'We are gathering all needed data from your website.',
      subtitle: '#subtitle',
      text: 'Data is being fetched, please wait.',
      game: 'clicker',
      buttons: [
      {
      value: 'ok',
      text: 'proceed',
      disabled: false,
      },
      ],
      });

      This function has been deprecated. Please use showUI.message instead.