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

A receipt reply from a channel message send operation. More...

#include <NChannelMessageAck.h>

Public Attributes

std::string channelId
 The channel the message was sent to. More...
 
std::string messageId
 The unique ID assigned to the message. More...
 
std::string username
 Username of the message sender. More...
 
int32_t code = 0
 The code representing a message type or category. More...
 
NTimestamp createTime = 0
 The UNIX time when the message was created. More...
 
NTimestamp updateTime = 0
 The UNIX time when the message was last updated. More...
 
bool persistent = false
 True if the message was persisted to the channel's history, false otherwise. More...
 
std::string roomName
 The name of the chat room, or an empty string if this message was not sent through a chat room. More...
 
std::string groupId
 The ID of the group, or an empty string if this message was not sent through a group channel. More...
 
std::string userIdOne
 The ID of the first DM user, or an empty string if this message was not sent through a DM chat. More...
 
std::string userIdTwo
 The ID of the second DM user, or an empty string if this message was not sent through a DM chat. More...
 

Detailed Description

A receipt reply from a channel message send operation.

Member Data Documentation

◆ channelId

std::string NChannelMessageAck::channelId

The channel the message was sent to.

◆ code

int32_t NChannelMessageAck::code = 0

The code representing a message type or category.

◆ createTime

NTimestamp NChannelMessageAck::createTime = 0

The UNIX time when the message was created.

◆ groupId

std::string NChannelMessageAck::groupId

The ID of the group, or an empty string if this message was not sent through a group channel.

◆ messageId

std::string NChannelMessageAck::messageId

The unique ID assigned to the message.

◆ persistent

bool NChannelMessageAck::persistent = false

True if the message was persisted to the channel's history, false otherwise.

◆ roomName

std::string NChannelMessageAck::roomName

The name of the chat room, or an empty string if this message was not sent through a chat room.

◆ updateTime

NTimestamp NChannelMessageAck::updateTime = 0

The UNIX time when the message was last updated.

◆ userIdOne

std::string NChannelMessageAck::userIdOne

The ID of the first DM user, or an empty string if this message was not sent through a DM chat.

◆ userIdTwo

std::string NChannelMessageAck::userIdTwo

The ID of the second DM user, or an empty string if this message was not sent through a DM chat.

◆ username

std::string NChannelMessageAck::username

Username of the message sender.


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