# FUABT_RtcConnection (/zh-CN/api-reference/rtc/unreal-blueprint/class-rtcconnection)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```cpp
USTRUCT(BlueprintType)
struct FRtcConnection
{
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcConnection")
FString channelId = "";
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|RtcConnection")
int64 localUid = 0;
FRtcConnection(){}
FRtcConnection(const agora::rtc::RtcConnection & AgoraData){
channelId = UTF8_TO_TCHAR(AgoraData.channelId);
localUid = AgoraData.localUid;
}
agora::rtc::RtcConnection CreateAgoraData() const {
agora::rtc::RtcConnection AgoraData;
SET_UABT_FSTRING_TO_CONST_CHAR___MEMALLOC(AgoraData.channelId, this->channelId)
AgoraData.localUid = localUid;
return AgoraData;
}
void FreeAgoraData(agora::rtc::RtcConnection & AgoraData) const {
SET_UABT_FSTRING_TO_CONST_CHAR___MEMFREE(AgoraData.channelId)
}
};
```
## 属性 [#属性]
频道名。
本地用户 ID。