docs-matrix-spec/locales/zh-Hans/rooms/fragments/v1-event-ids.md
2025-04-20 16:13:37 +08:00

7 lines
No EOL
439 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

一个事件只能有一个事件ID。在此房间版本中事件ID的格式为
$opaque_id:domain
其中,`domain` 是创建该房间的主服务器的[服务器名称](/appendices/#server-name),而 `opaque_id` 是在本地唯一的字符串。
domain 仅用于命名空间,以避免不同主服务器之间标识符发生冲突的风险。并不意味着相关房间或事件一定还在对应的主服务器上可用。