Send a private message to the user
privateMessage(content)

🚧

Note

This feature will not function unless we have enabled it for your game. If you would like to have this feature enabled, please email us at [email protected].

Private Messages

This feature sends a private message from your game to the player. You simply invoke the method with the desired message content. The message will appear in the player's messages, with your game as the sender.

If you are looking to send them messages when they are not logged in to the game, look at our Private Messages Server API.

Name

Type

Description

content

String

The message to send

kongregate.services.privateMessage("You just did something really great!");
kongregate.services.privateMessage("You just did something really great!");