Class ChatUIUserBuilder
  
  
  
  
    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    ChatUIUserBuilder
   
  
  Assembly: Syncfusion.EJ2.dll
  Syntax
  
    public class ChatUIUserBuilder : ControlBuilder
   
  Constructors
  
  
  
  
  ChatUIUserBuilder()
  
  
  Declaration
  
    public ChatUIUserBuilder()
   
  
  
  
  ChatUIUserBuilder(ChatUIUser)
  
  
  Declaration
  
    public ChatUIUserBuilder(ChatUIUser model)
   
  Parameters
  
  Methods
  
  
  
  
  AvatarBgColor(String)
  Defines the background color for the user's avatar in the Chat UI component.
This property accepts a color in hexadecimal format (e.g., #FFFFFF for white), allowing for custom styling of the avatar's background.
 
  
  Declaration
  
    public ChatUIUserBuilder AvatarBgColor(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  AvatarUrl(String)
  Specifies the URL of the user's avatar image.
If the URL is not provided, the user's first and last name initial letters will be used as the avatar.
 
  
  Declaration
  
    public ChatUIUserBuilder AvatarUrl(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  CssClass(String)
  Represents additional CSS classes to style the user's messages in the Chat UI component.
This property allows for custom styling by accepting one or more class names as a string.
 
  
  Declaration
  
    public ChatUIUserBuilder CssClass(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  Id(String)
  Specifies the unique identifier for each user in the Chat UI component.
Represents a string that uniquely identifies a user for tracking and managing individual users within the chat.
 
  
  Declaration
  
    public ChatUIUserBuilder Id(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  StatusIconCss(String)
  Specifies the CSS class for the status bar icon in the Chat UI component.
This allows customization of the status icon's appearance using custom styles.
 
  
  Declaration
  
    public ChatUIUserBuilder StatusIconCss(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns
  
  
  
  
  User(String)
  Represents the display name of the user in the Chat UI component.
 
  
  Declaration
  
    public ChatUIUserBuilder User(string value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        value | 
         | 
      
    
  
  Returns