Skip to main content

Introduction

The ShortcutFormatter class extends CometChatTextFormatter to handle shortcuts within messages. This guide walks you through implementing shortcut extensions in your CometChat V6 application.

Setup

  1. Create the ShortcutFormatter class by extending CometChatTextFormatter:

Usage

Pass the ShortcutFormatter to the textFormatters property of CometChatMessageComposer: