Hi everyone! I’m trying to add a direct messaging (user-to-user) feature to my app. Can anyone provide suggestions on a buildout or provide a link to a previous or similar question on the community board?
I wrote this a few months ago, the information might still be relevant but I’m not sure.
With the new comments collection, you can achieve both a global chat and 1:1 chats.
Data Editor
In both cases, in the Data Editor, you’ll need one Comments table. All messages of all chats will appear in this Comments table.
[CleanShot 2023-06-28 at 15.57.06@2x]
For the global chat, 4 basic columns: Comment, Timestamp, User Name, User Photo
For 1:1 chats, 3 additional basic columns: ChatPerson1, ChatPerson2, ChatID. In the ChatPerson columns, write the email addresses of the people chattin…
You can use the Chat component to do so.
https://www.glideapps.com/docs/essentials/components/collection/chat
Just make sure only the relevant people can see the content of a chat.