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

A realtime chat channel. More...

#include <NChannel.h>

Public Attributes

std::string id
 The ID of the channel. More...
 
std::vector< NUserPresencepresences
 The users currently in the channel. More...
 
NUserPresence self
 A reference to the current user's presence in the channel. 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 realtime chat channel.

Member Data Documentation

◆ groupId

std::string NChannel::groupId

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

◆ id

std::string NChannel::id

The ID of the channel.

◆ presences

std::vector<NUserPresence> NChannel::presences

The users currently in the channel.

◆ roomName

std::string NChannel::roomName

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

◆ self

NUserPresence NChannel::self

A reference to the current user's presence in the channel.

◆ userIdOne

std::string NChannel::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 NChannel::userIdTwo

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


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