Chat SDK for Unity and Windows v1.2.0
Public Attributes | List of all members
AgoraChat.UserInfo Class Reference
Inheritance diagram for AgoraChat.UserInfo:

Public Attributes

string NickName = ""
 
string AvatarUrl = ""
 
string Email = ""
 
string PhoneNumber = ""
 
string Signature = ""
 
string Birth = ""
 
string UserId = ""
 
string Ext = ""
 
int Gender = 0
 

Detailed Description

The user information class.

Member Data Documentation

◆ NickName

string AgoraChat.UserInfo.NickName = ""

The nickname of the user.

◆ AvatarUrl

string AgoraChat.UserInfo.AvatarUrl = ""

The avatar URL of the user.

◆ Email

string AgoraChat.UserInfo.Email = ""

The email address of the user.

◆ PhoneNumber

string AgoraChat.UserInfo.PhoneNumber = ""

The phone number of the user.

◆ Signature

string AgoraChat.UserInfo.Signature = ""

The signature of the user.

◆ Birth

string AgoraChat.UserInfo.Birth = ""

The birthday of the user.

◆ UserId

string AgoraChat.UserInfo.UserId = ""

The user ID.

◆ Ext

string AgoraChat.UserInfo.Ext = ""

The extension information of the user.

You can specify either an empty string or the custom information encapsulated as the JSON string.

◆ Gender

int AgoraChat.UserInfo.Gender = 0

The gender of the user.

  • (Default) 0: Unknown.
  • 1: Male.
  • 2: Female.