Chat SDK v1.3.5 for React Native
    Preparing search index...

    Class ChatUserInfo

    The user information class, which contains the user attributes, such as the user ID and the nickname and avatar of a user.

    Index

    Constructors

    • Parameters

      • params: {
            avatarUrl?: string;
            birth?: string;
            ext?: string;
            gender?: number;
            mail?: string;
            nickName?: string;
            phone?: string;
            sign?: string;
            userId: string;
        }

      Returns ChatUserInfo

    Properties

    avatarUrl?: string

    The avatar URL of the user.

    birth?: string

    The birthday of the user.

    ext?: string

    The extension information of the user.

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

    gender?: number

    The gender of the user.

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

    The email address of the user.

    nickName?: string

    The nickname of the user.

    phone?: string

    The mobile phone number of the user.

    sign?: string

    The signature of the user.

    userId: string

    The user ID.