Nakama C++ Client SDK 2.5.1
Client for Nakama Server
NNotification Struct Reference

A notification in the server. More...

#include <NNotification.h>

Public Attributes

std::string id
 ID of the Notification. More...
 
std::string subject
 Subject of the notification. More...
 
std::string content
 Content of the notification in JSON. More...
 
int32_t code = 0
 Category code for this notification. More...
 
std::string senderId
 ID of the sender, if a user. Otherwise 'null'. More...
 
NTimestamp createTime = 0
 The UNIX time when the notification was created. More...
 
bool persistent = false
 True if this notification was persisted to the database. More...
 

Detailed Description

A notification in the server.

Member Data Documentation

◆ code

int32_t NNotification::code = 0

Category code for this notification.

◆ content

std::string NNotification::content

Content of the notification in JSON.

◆ createTime

NTimestamp NNotification::createTime = 0

The UNIX time when the notification was created.

◆ id

std::string NNotification::id

ID of the Notification.

◆ persistent

bool NNotification::persistent = false

True if this notification was persisted to the database.

◆ senderId

std::string NNotification::senderId

ID of the sender, if a user. Otherwise 'null'.

◆ subject

std::string NNotification::subject

Subject of the notification.


The documentation for this struct was generated from the following file: