Sendbird Chat SDK for Unreal
|
#include <SBDUserMessageParams.h>
Public Member Functions | |
SBDUserMessageParams () | |
~SBDUserMessageParams () | |
SBDUserMessageParams & | SetMessage (std::wstring message) |
SBDUserMessageParams & | SetData (std::wstring data) |
SBDUserMessageParams & | SetCustomType (std::wstring custom_type) |
SBDUserMessageParams & | SetTargetLanguages (std::vector< std::wstring > &target_languages) |
SBDUserMessageParams & | SetMentionType (SBDMentionType mention_type) |
SBDUserMessageParams & | SetMentionedUserIds (std::vector< std::wstring > &mentioned_user_ids) |
SBDUserMessageParams & | SetPushNotificationDeliveryOption (SBDPushNotificationDeliveryOption pushnotification_delivery_option) |
SBDUserMessageParams & | SetMetaArrayKeys (std::vector< std::wstring > &metaarray_keys) |
The SBDUserMessageParams
class is used to send a user message in SBDBaseChannel
. This is a child class of SBDBaseMessageParams
.
SBDUserMessageParams::SBDUserMessageParams | ( | ) |
Constructor
SBDUserMessageParams::~SBDUserMessageParams | ( | ) |
Destructor
SBDUserMessageParams & SBDUserMessageParams::SetCustomType | ( | std::wstring | custom_type | ) |
Customize message's type to filter. The default value is null.
SBDUserMessageParams & SBDUserMessageParams::SetData | ( | std::wstring | data | ) |
Message data. The default value is null.
SBDUserMessageParams & SBDUserMessageParams::SetMentionedUserIds | ( | std::vector< std::wstring > & | mentioned_user_ids | ) |
Can mention to specific users. If sends a message with this field. the message will be arrived to mentioned users. The default value is null.
SBDUserMessageParams & SBDUserMessageParams::SetMentionType | ( | SBDMentionType | mention_type | ) |
Set mention type.
SBDUserMessageParams & SBDUserMessageParams::SetMessage | ( | std::wstring | message | ) |
Message text.
SBDUserMessageParams & SBDUserMessageParams::SetMetaArrayKeys | ( | std::vector< std::wstring > & | metaarray_keys | ) |
Meta array keys.
SBDUserMessageParams & SBDUserMessageParams::SetPushNotificationDeliveryOption | ( | SBDPushNotificationDeliveryOption | pushnotification_delivery_option | ) |
Push option for message. If the option is default, push message will work with the receiver's push settings. If the option is suppress, push message will not be sent.
SBDUserMessageParams & SBDUserMessageParams::SetTargetLanguages | ( | std::vector< std::wstring > & | target_languages | ) |
The target languages that the message will be translated into.