Sendbird Chat SDK for Unity
SbSender

Represents a user that typically binds with message More...

Inheritance diagram for SbSender:
SbUser

Properties

bool IsBlockedByMe [get]
 If true, the current user blocked the sender. More...
 
SbRole Role [get]
 The role of the sender in the channel. More...
 
- Properties inherited from SbUser
string UserId [get]
 User ID. This has to be unique. More...
 
string Nickname [get]
 User nickname. More...
 
string ProfileUrl [get]
 The profile image URL. If the file encryption feature is enabled, this will have SendbirdChat.EKey combined with the PlainProfileImageUrl so the file can be accessed. For caching the file, it is recommended to use PlainProfileImageUrl as the key of the file cache. More...
 
string OriginalProfileUrl [get]
 Original profile image url. More...
 
string PlainProfileImageUrl [get]
 The plain profile image URL, which does not contain SendbirdChat.EKey as a parameter. If the file encryption feature is enabled, accessing this PlainProfileImageUrl will be denied. More...
 
IReadOnlyList< string > PreferredLanguages [get]
 User’s preferred language. Used for translating messages. More...
 
IReadOnlyDictionary< string, string > MetaData [get]
 All meta data of the user. More...
 
SbUserConnectionStatus ConnectionStatus [get]
 User connection status. This is defined in SbUserConnectionStatus. More...
 
bool IsActive [get]
 Represents the user is activated. This property is changed by the Platform API More...
 
long LastSeenAt [get]
 The latest time when the user became offline. More...
 
string FriendDiscoveryKey [get]
 Discovery key for friend More...
 
string FriendName [get]
 User name for friend More...
 

Additional Inherited Members

- Public Member Functions inherited from SbUser
void CreateMetaData (Dictionary< string, string > inMetaData, SbMetaDataHandler inCompletionHandler)
 Creates the meta data for the current user. More...
 
string GetMetaData (string inKey)
 Gets meta data. More...
 
void UpdateMetaData (Dictionary< string, string > inMetaData, SbMetaDataHandler inCompletionHandler)
 Updates the meta data for the current user. More...
 
void DeleteMetaData (string inKey, SbErrorHandler inCompletionHandler)
 Deletes meta data with key for the current user. More...
 
void DeleteAllMetaData (SbErrorHandler inCompletionHandler)
 Deletes all meta data for the current user. More...
 

Detailed Description

Represents a user that typically binds with message

Since
4.0.0

Property Documentation

◆ IsBlockedByMe

bool IsBlockedByMe
get

If true, the current user blocked the sender.

Since
4.0.0

◆ Role

SbRole Role
get

The role of the sender in the channel.

Since
4.0.0