Sendbird Chat SDK for Unreal
Public Member Functions | Public Attributes | List of all members
SBDUserMessage Class Referencefinal

#include <SBDUserMessage.h>

Inheritance diagram for SBDUserMessage:

Public Member Functions

SBDUserGetSender ()
- Public Member Functions inherited from SBDBaseMessage
bool IsOpenChannel ()
bool IsGroupChannel ()
std::vector< SBDMessageMetaArrayGetMetaArraysWithKeys (const std::vector< std::wstring > &metaarraykeys)

Public Attributes

SBDUser sender
std::wstring message
std::wstring data
std::wstring request_id
std::wstring custom_type
std::map< std::wstring, std::wstring > translations
- Public Attributes inherited from SBDBaseMessage
SBDMessageType message_type
uint64_t message_id
std::wstring channel_url
int64_t created_at
int64_t updated_at
std::wstring channel_type
SBDMentionType mention_type
std::vector< SBDUsermentioned_users
std::vector< SBDMessageMetaArraymeta_arrays

Additional Inherited Members

- Protected Member Functions inherited from SBDBaseMessage
 SBDBaseMessage (const std::string &dict)

Detailed Description

The SBDUserMessage class represents the user message which is generated by a user via [SendUserMessage]() in SBDBaseChannel or Platform API.

Member Function Documentation

◆ GetSender()

SBDUser & SBDUserMessage::GetSender ( )

Returns sender of the message.

Member Data Documentation

◆ custom_type

std::wstring SBDUserMessage::custom_type

Custom message type.

◆ data

std::wstring SBDUserMessage::data

Data of message.

◆ message

std::wstring SBDUserMessage::message

Message text.

◆ request_id

std::wstring SBDUserMessage::request_id

Request ID for checking ACK.

◆ sender

SBDUser SBDUserMessage::sender

The message sender.

◆ translations

std::map<std::wstring, std::wstring> SBDUserMessage::translations

Translated message text.