namespace LeanCloud.Realtime {
public class LCIMConversationMemberInfo {
///
/// 群主
///
public const string Owner = "Owner";
///
/// 管理员
///
public const string Manager = "Manager";
///
/// 成员
///
public const string Member = "Member";
public string ConversationId {
get; set;
}
public string MemberId {
get; set;
}
public string Role {
get; set;
}
public bool IsOwner {
get {
return Role == Owner;
}
}
public bool IsManager {
get {
return Role == Manager;
}
}
}
}