This member cannot be used in scripts, but is usable in the command bar and plugins.
This function sets whether BubbleChat and ClassicChat are being used, and tells TeamChat and Chat what to do using the
ChatStyle enum. Since this item is protected, attempting to use it in a
LocalScript will cause an error.
This function is used internally when the chat mode is set by the game.
If you would like to create a custom chat system where you can define custom functions such as these, take a look at the tutorial here.
Developers who are interested interested in configuring their games’ bubble chat system even further should take a look at the
articles/Bubble Chat|Bubble Chat article.
The specified chat style being set
Setting a Player's Chat Style
This example demonstrates that the
Players/SetChatStyle function executes without error if using the Command Bar or a Plugin and errors if executed in a
When executed in the Command Bar, this code sets the chat style to Classic using the