Gitter API message editing limits and event synchronization
0 reputation · 31 May 2024, 00:57 UTC
The Gitter REST API provides an update operation for individual messages within a room using the message ID. While this functionality allows the author to modify previously sent content, the documentation does not specify a temporal window during which these edits are permitted.
Furthermore, there is uncertainty regarding how remote clients are notified of these changes. Since Gitter utilizes a streaming/EventSource endpoint for room messages, it is unclear if a REST API update triggers a specific update event in the stream or if clients must rely on subsequent polling fetches to reconcile stale local caches.
- Does the API response include a specific flag or modified timestamp for edited messages?
- Does the stream emit a distinct event when a message is updated via REST?
- Is there a hard limit on how long after transmission a message can be edited?