Sendbird Chat SDK for .NET  3.0.29
SendBird.UserMessageParams Class Reference
Inheritance diagram for SendBird.UserMessageParams:
SendBird.BaseMessageParams

Public Member Functions

 UserMessageParams ()
 
 UserMessageParams (string message)
 
virtual UserMessageParams SetMessage (string message)
 
virtual UserMessageParams SetTargetLanguages (List< string > targetLanguages)
 
virtual UserMessageParams SetTranslationTargetLanguages (List< string > targetLanguages)
 
virtual UserMessageParams SetData (string data)
 
virtual UserMessageParams SetCustomType (string customType)
 
virtual UserMessageParams SetMentionType (MentionType mentionType)
 
virtual UserMessageParams SetMentionedUsers (List< User > mentionedUsers)
 
virtual UserMessageParams SetMentionedUserIds (List< string > mentionedUserIds)
 
virtual UserMessageParams SetPushNotificationDeliveryOption (PushNotificationDeliveryOption pushNotificationDeliveryOption)
 
virtual UserMessageParams SetMetaArrayKeys (IList< string > metaArrayKeys)
 
virtual UserMessageParams SetMetaArrays (IList< MessageMetaArray > metaArrays)
 
override string ToString ()
 
- Public Member Functions inherited from SendBird.BaseMessageParams
override string ToString ()
 
BaseMessageParams SetParentMessageId (long parentMessageId)
 

Additional Inherited Members

- Public Types inherited from SendBird.BaseMessageParams
enum  PushNotificationDeliveryOption { NULL, DEFAULT, SUPPRESS }
 
enum  MentionType { NULL, USERS, CHANNEL }
 

Constructor & Destructor Documentation

◆ UserMessageParams() [1/2]

SendBird.UserMessageParams.UserMessageParams ( )
inline

UserMessageParams constructor.

Since
3.0.17

◆ UserMessageParams() [2/2]

SendBird.UserMessageParams.UserMessageParams ( string  message)
inline

UserMessageParams constructor.

Parameters
messagemessage
Since
3.0.17

Member Function Documentation

◆ SetCustomType()

virtual UserMessageParams SendBird.UserMessageParams.SetCustomType ( string  customType)
inlinevirtual

Sets custom type. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
customTypecustom type
Returns
UserMessageParams
Since
3.0.17

◆ SetData()

virtual UserMessageParams SendBird.UserMessageParams.SetData ( string  data)
inlinevirtual

◆ SetMentionedUserIds()

virtual UserMessageParams SendBird.UserMessageParams.SetMentionedUserIds ( List< string >  mentionedUserIds)
inlinevirtual

Set mentioned user ids. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
mentionedUserIdsmentionedUserIds
Returns
UserMessageParams
Since
3.0.17

◆ SetMentionedUsers()

virtual UserMessageParams SendBird.UserMessageParams.SetMentionedUsers ( List< User mentionedUsers)
inlinevirtual

Set mentioned users. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
mentionedUsersmentionedUsers
Returns
UserMessageParams
Since
3.0.17

◆ SetMentionType()

virtual UserMessageParams SendBird.UserMessageParams.SetMentionType ( MentionType  mentionType)
inlinevirtual

Sets mention type. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
mentionTypemention type. Refer to BaseMessageParams.MentionType.
Returns
UserMessageParams
Since
3.0.17

◆ SetMessage()

virtual UserMessageParams SendBird.UserMessageParams.SetMessage ( string  message)
inlinevirtual

◆ SetMetaArrayKeys()

virtual UserMessageParams SendBird.UserMessageParams.SetMetaArrayKeys ( IList< string >  metaArrayKeys)
inlinevirtual

Sets meta array keys. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
metaArrayKeysmetaArrayKeys
Returns
UserMessageParams
Since
3.0.16
Deprecated:
As of 3.0.17, replaced by setMetaArrays(List).

◆ SetMetaArrays()

virtual UserMessageParams SendBird.UserMessageParams.SetMetaArrays ( IList< MessageMetaArray metaArrays)
inlinevirtual

Sets meta arrays. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
metaArraysmetaArrays
Returns
UserMessageParams
Since
3.0.17

◆ SetPushNotificationDeliveryOption()

virtual UserMessageParams SendBird.UserMessageParams.SetPushNotificationDeliveryOption ( PushNotificationDeliveryOption  pushNotificationDeliveryOption)
inlinevirtual

Sets push notification delivery option. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
pushNotificationDeliveryOptionpush notification delivery option
Returns
UserMessageParams
Since
3.0.17

◆ SetTargetLanguages()

virtual UserMessageParams SendBird.UserMessageParams.SetTargetLanguages ( List< string >  targetLanguages)
inlinevirtual

Sets targetLanguages. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
targetLanguagestargetLanguages
Returns
UserMessageParams
Since
3.0.17
Deprecated:
As of 3.0.80, replaced by setTranslationTargetLanguages(List).

◆ SetTranslationTargetLanguages()

virtual UserMessageParams SendBird.UserMessageParams.SetTranslationTargetLanguages ( List< string >  targetLanguages)
inlinevirtual

Sets translation target languages. BaseChannel#sendUserMessage(UserMessageParams, BaseChannel.SendUserMessageHandler)

Parameters
targetLanguagesTarget languages.
Returns
UserMessageParams
Since
3.0.17

The documentation for this class was generated from the following file: