Options
All
  • Public
  • Public/Protected
  • All
Menu

export class type

Hierarchy

  • ChatUserInfo

Index

Constructors

  • new ChatUserInfo(params: { avatarUrl?: string; birth?: string; ext?: string; gender?: number; mail?: string; nickName?: string; phone?: string; sign?: string; userId: string }): ChatUserInfo
  • Parameters

    • params: { avatarUrl?: string; birth?: string; ext?: string; gender?: number; mail?: string; nickName?: string; phone?: string; sign?: string; userId: string }
      • Optional avatarUrl?: string
      • Optional birth?: string
      • Optional ext?: string
      • Optional gender?: number
      • Optional mail?: string
      • Optional nickName?: string
      • Optional phone?: string
      • Optional 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.

Generated using TypeDoc