Sendbird Chat SDK for .NET  3.0.29
SendBird.ChannelEvent Class Reference

Public Member Functions

 ChannelEvent (JsonElement el)
 
string GetDataAsString (string key)
 
int GetDataAsInt (string key)
 
long GetDataAsLong (string key)
 
bool GetDataAsBoolean (string key)
 
bool IsGroupChannel ()
 
bool IsOpenChannel ()
 

Static Public Attributes

const int CATEGORY_NONE = 0
 
const int CATEGORY_CHANNEL_ENTER = 10102
 
const int CATEGORY_CHANNEL_EXIT = 10103
 
const int CATEGORY_USER_CHANNEL_MUTE = 10201
 
const int CATEGORY_USER_CHANNEL_UNMUTE = 10200
 
const int CATEGORY_USER_CHANNEL_BAN = 10601
 
const int CATEGORY_USER_CHANNEL_UNBAN = 10600
 
const int CATEGORY_CHANNEL_FREEZE = 10701
 
const int CATEGORY_CHANNEL_UNFREEZE = 10700
 
const int CATEGORY_TYPING_START = 10900
 
const int CATEGORY_TYPING_END = 10901
 
const int CATEGORY_CHANNEL_JOIN = 10000
 
const int CATEGORY_CHANNEL_LEAVE = 10001
 
const int CATEGORY_CHANNEL_INVITE = 10020
 
const int CATEGORY_CHANNEL_DECLINE_INVITE = 10022
 
const int CATEGORY_CHANNEL_PROP_CHANGED = 11000
 
const int CATEGORY_CHANNEL_DELETED = 12000
 
const int CATEGORY_CHANNEL_HIDDEN = 13000
 
const int CATEGORY_CHANNEL_UNHIDDEN = 13001
 
const int CHANNEL_OPERATOR_CHANGED = 10002
 

Properties

JsonElement? Data [get]
 
int Category [get]
 
string ChannelUrl [get]
 
long Ts [get]
 

Detailed Description

Objects representing a channel event.

Member Function Documentation

◆ GetDataAsString()

string SendBird.ChannelEvent.GetDataAsString ( string  key)
inline
Returns
the value to which the specified key is mapped, or
null
if this map contains no mapping for the key

Member Data Documentation

◆ CATEGORY_NONE

const int SendBird.ChannelEvent.CATEGORY_NONE = 0
static

Unknown Category.

Property Documentation

◆ Category

int SendBird.ChannelEvent.Category
get

Returns a category.

Returns
The category

◆ ChannelUrl

string SendBird.ChannelEvent.ChannelUrl
get

Returns a channel url

Returns
channel url

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