Sendbird Chat SDK for Unreal
SBDUserMessageParams.h
1// Copyright (c) 2021 Sendbird, Inc. All rights reserved.
2
3#ifndef SENDBIRD_SBDUSERMESSAGEPARAMS_H_
4#define SENDBIRD_SBDUSERMESSAGEPARAMS_H_
5
6#include "SBDTypes.h"
7
8#include <vector>
9#include <string>
10
11class SBDCommand;
12
17public:
22
27
31 SBDUserMessageParams& SetMessage(std::wstring message);
32
36 SBDUserMessageParams& SetData(std::wstring data);
37
41 SBDUserMessageParams& SetCustomType(std::wstring custom_type);
42
46 SBDUserMessageParams& SetTargetLanguages(std::vector<std::wstring>& target_languages);
47
51 SBDUserMessageParams& SetMentionType(SBDMentionType mention_type);
52
56 SBDUserMessageParams& SetMentionedUserIds(std::vector<std::wstring>& mentioned_user_ids);
57
61 SBDUserMessageParams& SetPushNotificationDeliveryOption(SBDPushNotificationDeliveryOption pushnotification_delivery_option);
62
66 SBDUserMessageParams& SetMetaArrayKeys(std::vector<std::wstring>& metaarray_keys);
67
68private:
69 std::wstring message;
70 std::wstring data;
71 std::wstring custom_type;
72 std::vector<std::wstring> target_languages;
73 SBDMentionType mention_type;
74 std::vector<std::wstring> mentioned_user_ids;
75 SBDPushNotificationDeliveryOption pushnotification_delivery_option;
76 std::vector<std::wstring> metaarray_keys;
77
78 friend SBDCommand;
79};
80
81#endif /* SENDBIRD_SBDUSERMESSAGEPARAMS_H_ */
Definition: SBDUserMessageParams.h:16
SBDUserMessageParams & SetTargetLanguages(std::vector< std::wstring > &target_languages)
SBDUserMessageParams & SetMentionedUserIds(std::vector< std::wstring > &mentioned_user_ids)
SBDUserMessageParams & SetData(std::wstring data)
SBDUserMessageParams & SetPushNotificationDeliveryOption(SBDPushNotificationDeliveryOption pushnotification_delivery_option)
SBDUserMessageParams & SetMessage(std::wstring message)
SBDUserMessageParams & SetMentionType(SBDMentionType mention_type)
SBDUserMessageParams & SetCustomType(std::wstring custom_type)
SBDUserMessageParams & SetMetaArrayKeys(std::vector< std::wstring > &metaarray_keys)