Group Chats (Non-NFT Related)
Group chat related API endpoints:
CreateCommunityChatitem creates GroupChatitem just with community tag (likely could be consolidated)
Community Chat Data
OK
OK
TODO: need a creation API for communities, which includes specificied welcome message text, Twitter handle, page title
Wallet Address
OK
has user messaged in this group chat before? if not show "Say hi" button
is this group verified? WalletChat's group is verified by default
number of members of the group
logo url, stored in backend
OK
Bookmarks keep an NFT/Community group chat in the sidebar
OK
OK
Currently used for all messages outside of DMs
OK
OK
Bookmarks keep an NFT/Community group chat in the sidebar
OK
OK
This used for UI purposes, checking if a user/wallet has bookmarked a community.
Wallet Address
OK
OK
This used for UI purposes, checking if a user/wallet has bookmarked a community.
Wallet Address
NFT Contract Address
OK
OK
No content
Get all group chat items for a given wallet (useraddress) for a given NFT Contract Address (TODO: fix up var names)
NFT Address
FROM: wallet address
OK
OK
For group chat unread counts, currently the database stores a timestamp for each time a user enters a group chat. We though in the design it would be impractical to keep a read/unread count copy per user per message, but if this method doesn't proof to be fine grained enough, we could add a boolean relational table of read messgages per user.
Common Name Mapped to User/Community
OK
OK
Last updated