- Nakama
- Getting Started+-
- Concepts+-
- Server Framework+-
- Client Libraries+-
- API+-
- Tutorials+-
- Guides+-
- Overview
- Concepts+-
- Overview
- Edgegap Integration
- GameLift Fleet Management
- Bucketed Leaderboards
- Custom Authentication with Third-Party Services
- Custom Leaderboards
- Creating an Economy
- Daily Rewards
- Initialize a New User
- Matchmaking Around Blocked Users
- Passive Multiplayer
- Tiered Leagues
- Creating a Lobby System
- Unread Chat Messages
- Server Framework+-
- Deployment+-
- Videos
- Hiro
- Concepts+-
- Unity+-
- Unreal+-
- C+++-
- Dart+-
- TypeScript+-
- Godot+-
- Python+-
- Server Framework+-
- Guides+-
- Satori
- Heroic Cloud
Direct Message #
You can send messages to one or more players directly using Console API’s /v1/console/message-direct
endpoint.
Using the endpoint you will need to provide following information:
- templateId: The identifier of the template used to render the message content. You can find this information on the top of the page when you open a template from Templates page
- identityIds: List of recipient identity IDs.
- integrations: List of integrations to use for sending the message. Leaving this empty will ensure the message is only delivered to identity inbox.
- persist: Boolean to indicate if the message should be stored in the recipient’s inbox.
An example of the request body is given below:
{
"templateId": "b98c0b60-61b8-4a35-b7e9-f87e5733fe79",
"identityIds": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000002",
"00000000-0000-0000-0000-000000000003"
],
"integrations": [
"FCM",
"APNS"
],
"persist": true
}