# RtcConnection (/zh-CN/api-reference/rtc/unity/class-rtcconnection) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```csharp public class RtcConnection { public RtcConnection() { } public RtcConnection(string channelId, uint localUid) { this.channelId = channelId; this.localUid = localUid; } public string channelId { set; get; } public uint localUid { set; get; } }; ``` ## 属性 [#属性] 频道名。 本地用户 ID。