mattermost/mattermost

Incoming webhooks don't return post id

开放

#30,491 创建于 2025年3月14日

 (2 条评论) (1 个反应) (1 位负责人)TypeScript (7,823 个派生)batch import
Help Wanted

仓库指标

星标
 (32,880 个星标)
PR 合并指标
 (平均合并 6天 5小时) (30 天内合并 318 个 PR)

描述

Hello,

When creating a post using an incoming webhook, the post id of the newly created message isn't returned in any way. That makes the application which used the webhook unable to interact with this post later on.

This is for example an issue in Matterbridge that needs to know the ID of the messages it send in order to correctly format replies made on mattermost before sending them on other platforms.

I'm also noticing that there are no webhook api endpoint is not able to post messages in threads. Webhooks also can't edit or delete a previously made post (something comparable to https://discord.com/developers/docs/resources/webhook#edit-webhook-message or https://discord.com/developers/docs/resources/webhook#delete-webhook-message in the discord api). But maybe this is a separate issue about overall improvements around the features of the webhooks APIs

贡献者指南