With this feature group administarators can select some pre-defined topics for their chats and apply for the Global chat program (This means they chat will show up on frontend when someone wants to join to a chat. They can filter by topics and group name).
The app needs some endpoints for this feature. Define new routes under the /routes folder and handlers under /app/handers.
There should be a global chat program endpoint to add a chat to that program. Maybe create a GlobalGroup gorm model with a GroupID and Topics. Paginate that to other users that aren't in that group with name and topic filters.
(btw sorry for my english mistakes, I'm not a native speaker).
With this feature group administarators can select some pre-defined topics for their chats and apply for the Global chat program (This means they chat will show up on frontend when someone wants to join to a chat. They can filter by topics and group name).
The app needs some endpoints for this feature. Define new routes under the
/routes
folder and handlers under/app/handers
. There should be a global chat program endpoint to add a chat to that program. Maybe create a GlobalGroup gorm model with a GroupID and Topics. Paginate that to other users that aren't in that group with name and topic filters.(btw sorry for my english mistakes, I'm not a native speaker).