Skip to content

Commit 57e029e

Browse files
authored
Update TextChatService.yaml
Fixed an inconsistency in CanUserChatAsync.
1 parent 9f5d043 commit 57e029e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

content/en-us/reference/engine/classes/TextChatService.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,10 @@ methods:
311311
Determines whether a user has permission to chat in experiences. Factors
312312
such as parental control settings may prevent the user from sending
313313
messages. Errors if the userId is not in the current server. Note that
314-
this method is only available for use in a `Class.Script` with
315-
`Class.Script.RunContext|RunContext` of `Enum.RunContext.Server` or
316-
`Enum.RunContext.Legacy`.
314+
this method can be used with all current player userIds in a `Class.Script`
315+
with `Class.Script.RunContext|RunContext` of `Enum.RunContext.Server` or
316+
`Enum.RunContext.Legacy`. In a `Class.LocalScript` this method can be used,
317+
but only with the userId of the local player.
317318
code_samples: []
318319
parameters:
319320
- name: userId

0 commit comments

Comments
 (0)