Sendbird Chat SDK for Unreal
SBDUserMessage.h
1// Copyright (c) 2021 Sendbird, Inc. All rights reserved.
2
3#ifndef SENDBIRD_SBDUSERMESSAGE_H_
4#define SENDBIRD_SBDUSERMESSAGE_H_
5
6#include "SBDBaseMessage.h"
7#include "SBDBaseChannel.h"
8
9class SBDCommand;
10class SBDBaseChannel;
11class FSBDUserMessage;
12
17class SBDUserMessage final : public SBDBaseMessage {
18public:
23
27 std::wstring message;
28
32 std::wstring data;
33
37 std::wstring request_id;
38
42 std::wstring custom_type;
43
47 std::map<std::wstring, std::wstring> translations;
48
53
54private:
55 SBDUserMessage(const std::string& dict);
56 void SetSender(const SBDUser& sender);
57 void Overwrite(SBDUserMessage* message);
58
59 friend FSBDUserMessage;
60};
61
62#endif /* SENDBIRD_SBDUSERMESSAGE_H_ */
Definition: SBDBaseChannel.h:271
Definition: SBDBaseMessage.h:19
Definition: SBDUser.h:20
Definition: SBDUserMessage.h:17
std::wstring custom_type
Definition: SBDUserMessage.h:42
std::wstring data
Definition: SBDUserMessage.h:32
SBDUser & GetSender()
SBDUser sender
Definition: SBDUserMessage.h:22
std::map< std::wstring, std::wstring > translations
Definition: SBDUserMessage.h:47
std::wstring message
Definition: SBDUserMessage.h:27
std::wstring request_id
Definition: SBDUserMessage.h:37