Webhooks in talk


I created a service that allows communication trough talk. My goal is, that if a user sends a picture or a text message in a chat to process that information.

I am using NC25.0.5 and Talk15.0.4

It seems like the way to go is to place a call similar to https://<server>/ocs/v2.php/apps/spreed/api/v1/chat/<chat_id>?lookIntoFuture=1&limit=5&timeout=10&lastKnownMessageId=<last_processed_message_id> and wait for a 200 OK or a 304 Not Modified and then either process the new message and place an new call with the now lastKnownMessageId or retry the call.

I wonder if there is a way to register some kind of webhook to be called when there is a new message in a group.

Thanks in advance for any info :slight_smile:

Hey, this is not supported yet Webhook Support 路 Issue #1879 路 nextcloud/spreed 路 GitHub