ChatUserInfo class
The ChatUserInfo class, which contains the user attributes, such as the nickname, description, and avatar.
Properties
- avatarUrl → String?
-
Gets the avatar URL of the user.
final
- birth → String?
-
Gets the user's data of birth.
final
- expireTime → int
-
Gets the time period(seconds) when the user attributes in the cache expire.
If the interval between two callers is less than or equal to the value you set in the parameter,
user attributes are obtained directly from the local cache; otherwise, they are obtained from the server.
For example, if you set this parameter to 120(2 minutes), once this method is called again within 2 minutes,
the SDK returns the attributes obtained last time.
final
- ext → String?
-
Gets the user's extension information.
final
- gender → int
-
Gets the user's gender.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- mail → String?
-
Gets the email address of the user.
final
- nickName → String?
-
Gets the user's nickname.
final
- phone → String?
-
Gets the mobile numbers of the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sign → String?
-
Gets the user's signature.
final
- userId → String
-
Gets the userId.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited