![]() |
Nakama C++ Client SDK 2.5.1
Client for Nakama Server
|
A message sent on a channel. More...
#include <NChannelMessage.h>
Public Attributes | |
std::string | channelId |
The channel this message belongs to. More... | |
std::string | messageId |
The unique ID of this message. More... | |
int32_t | code = 0 |
The code representing a message type or category. More... | |
std::string | senderId |
Message sender, usually a user ID. More... | |
std::string | username |
The username of the message sender, if any. More... | |
std::string | content |
The content payload. 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... | |
A message sent on a channel.
std::string NChannelMessage::channelId |
The channel this message belongs to.
int32_t NChannelMessage::code = 0 |
The code representing a message type or category.
std::string NChannelMessage::content |
The content payload.
NTimestamp NChannelMessage::createTime = 0 |
The UNIX time when the message was created.
std::string NChannelMessage::groupId |
The ID of the group, or an empty string if this message was not sent through a group channel.
std::string NChannelMessage::messageId |
The unique ID of this message.
bool NChannelMessage::persistent = false |
True if the message was persisted to the channel's history, false otherwise.
std::string NChannelMessage::roomName |
The name of the chat room, or an empty string if this message was not sent through a chat room.
std::string NChannelMessage::senderId |
Message sender, usually a user ID.
NTimestamp NChannelMessage::updateTime = 0 |
The UNIX time when the message was last updated.
std::string NChannelMessage::userIdOne |
The ID of the first DM user, or an empty string if this message was not sent through a DM chat.
std::string NChannelMessage::userIdTwo |
The ID of the second DM user, or an empty string if this message was not sent through a DM chat.
std::string NChannelMessage::username |
The username of the message sender, if any.