Sendbird Chat SDK for .NET  3.0.29
SendBird.Sender Class Reference
Inheritance diagram for SendBird.Sender:
SendBird.User

Public Member Functions

 Sender (JsonElement el)
 
new JsonElement toJson ()
 
Member.Role GetRole ()
 
override string toString ()
 
- Public Member Functions inherited from SendBird.User
byte[] Serialize ()
 
void CreateMetaData (Dictionary< string, string > metaDataMap, MetaDataHandler handler)
 
void UpdateMetaData (Dictionary< string, string > metaDataMap, MetaDataHandler handler)
 
string GetMetaData (string key)
 
Dictionary< string, string > GetMetaData ()
 
void DeleteMetaData (string key, DeleteMetaDataHandler handler)
 
void DeleteAllMetaData (DeleteMetaDataHandler handler)
 
delegate void MetaDataHandler (Dictionary< string, string > metaDataMap, SendBirdException e)
 
delegate void DeleteMetaDataHandler (SendBirdException e)
 

Static Public Member Functions

static Sender toSender (User user, Member.Role role)
 
- Static Public Member Functions inherited from SendBird.User
static User BuildFromSerializedData (byte[] data)
 

Properties

bool IsBlockedByMe [get]
 
- Properties inherited from SendBird.User
string UserId [get, set]
 
string Nickname [get]
 
string ProfileUrl [get]
 
UserConnectionStatus ConnectionStatus [get]
 
long LastSeenAt [get]
 

Additional Inherited Members

- Public Types inherited from SendBird.User
enum  UserConnectionStatus { NON_AVAILABLE, ONLINE, OFFLINE }
 

Member Function Documentation

◆ GetRole()

Member.Role SendBird.Sender.GetRole ( )
inline

Returns the role of this sender in the current channel. Refer to com.sendbird.android.Member.Role.

If the sender's role status changes after the field value allocation, the value returned by this method may not reflect the latest role.

Returns
The role of the sender in the channel. Refer to com.sendbird.android.Member.Role.
Since
3.0.26

Property Documentation

◆ IsBlockedByMe

bool SendBird.Sender.IsBlockedByMe
get

Checks if this sender is blocked by me.

Returns
true if this sender is blocked by me. 2020.5

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