Skip to main content
Version: SDK-5.11.2

ChatToGameRoom

public void ChatToGameRoom(MatchChatModeType matchChatModeType, string message);

Parameters

ValueTypeDescription
matchChatModeTypeMatchChatModeTypeWhether it's an all-user message or team message - MatchChatModeType.Team(team) or MatchChatModeType.All(all)
messagestringstring to be sent

Description

Sends the chat message to the server.
The server broadcasts the received message to all clients.
Clients that sent the data are included in 'all clients'.

Example

Backend.Match.ChatToGameRoom(matchChatModeType, message);