TextSource

顯示已棄用項目

*此內容很快就會推出您所選的語言版本。

無法建立

Represents a speaker in a TextChannel.

TextSources provide details on permissions users have in TextChannels. There may be multiple TextSources for a user if that user belongs in multiple TextChannels.

Create TextSources with TextChannel:AddUserAsync(), which adds a TextSource to the TextChannel as a descendant.

Remove TextSources by calling TextSource.Destroy.

Name of a TextSource is the Player.DisplayName of the user associated with the TextSource via TextSource.UserId.

To learn more about using TextSources, see In-Experience Text Chat.

屬性

CanSend

平行讀取

Determines whether the user can send messages to the TextChannel.

If false, user can only read messages in the TextChannel.

UserId

唯讀
未複製
平行讀取

UserId of the user represented by the TextSource.

Support for non-user entities may be added in the future via passing in negative numbers for this property.

方法

活動