ShortCutFormatter
class by extending the CometChatTextFormatter
class.messageShortcuts
map and shortcuts
list in the constructor.prepareShortCuts()
method to fetch shortcuts from the server using CometChat extension.search()
method to search for shortcuts based on the entered query.onScrollToBottom()
method if needed.ShortCutFormatter
in your application.ShortCutFormatter
into your CometChat application involves incorporating it within your project to handle message shortcuts. Use MessageComposer component, you can seamlessly integrate the ShortCutFormatter to manage shortcut functionalities within your application.