How come mentions are not captured when sending custom messages?
Below are some dev details:
- I followed this Document On Mention Extension
- Got mentions working for Text Messages
- So now I’m attempting to make mentions work for Custom Messages
- Mentions extension is enabled in the app’s extension section
- I’ve removed the 3rd-party rich text editor & disabled the text transformation to the mentions format to simplify debugging
- Made sure that a sample message or the
customDataparameter of the method above contains a mention which follows the format
- By calling the
CometChat.callExtensionfor mentions, the resulting list of messages/mentions are of text message type only and none for custom message type, so I assume that mentions are not captured/working for custom messages (I specifically used
CometChat.callExtension('mentions', 'GET', 'v1/fetch', null)to get the list of message with mentions OR to check if mentions were captured)
What did I missed? Thanks!