Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Team chat API #15439

Closed
Siderite opened this issue Jun 4, 2024 · 8 comments
Closed

Feature request: Team chat API #15439

Siderite opened this issue Jun 4, 2024 · 8 comments

Comments

@Siderite
Copy link

Siderite commented Jun 4, 2024

I propose a new parameter "withMessagesFrom" to https://lichess.org/api#tag/Teams/operation/teamOfUsername in which only the teams which have chat messages sent after that timestamp are listed.

@Siderite
Copy link
Author

Siderite commented Jun 4, 2024

A way to delete a specific message as team leader would be nice, too.

@Siderite
Copy link
Author

Siderite commented Jun 4, 2024

In fact, team pages have a toggle under the chat "Subscribe to team messages" but it doesn't seem to do anything. There are no notifications I have ever received about that. Maybe it's a bug. Or does it apply only to the messages sent through the mass message mechanism?

@ornicar
Copy link
Collaborator

ornicar commented Jun 5, 2024

I propose a new parameter "withMessagesFrom" to https://lichess.org/api#tag/Teams/operation/teamOfUsername in which only the teams which have chat messages sent after that timestamp are listed.

Is the intent to poll the endpoint to check for new chat messages? Polling to check for updates is almost always a bad idea.

@ornicar
Copy link
Collaborator

ornicar commented Jun 5, 2024

A way to delete a specific message as team leader would be nice, too.

Team leaders can already moderate their team chats.

@ornicar
Copy link
Collaborator

ornicar commented Jun 5, 2024

In fact, team pages have a toggle under the chat "Subscribe to team messages" but it doesn't seem to do anything. There are no notifications I have ever received about that. Maybe it's a bug. Or does it apply only to the messages sent through the mass message mechanism?

it is about mass DMs.

@Siderite
Copy link
Author

Siderite commented Jun 5, 2024

Team leaders can already moderate their team chats.

Maybe I didn't go too far into the interface. All I found was banning a person. Will look better.

@Siderite
Copy link
Author

Siderite commented Jun 5, 2024

Is the intent to poll the endpoint to check for new chat messages? Polling to check for updates is almost always a bad idea.

Well, there is a WS message sent when a new chat message arrives, but only if you are on the team page. Also if you just log in you have no idea if anyone said anything on the team chats and which teams.

Perhaps an integration of the normal inbox chat would work. Like you get a notification that someone has been said in a team chat, you use the same page, messages there are sent to all members of the team, you can mute individual team. My point is that the team chat is a poor communication mechanism compared to person to person chat.

@ornicar
Copy link
Collaborator

ornicar commented Jun 11, 2024

It is.

@ornicar ornicar closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants