AboutSupportDeveloper GuideVersion 22.3.18

Contact Data.

interface ContactInfo {
    buttons?: ContactInfoButtons[];
    details: ListPairs[];
    name: string;
    onlineStatus?:
        | "offline"
        | "do-not-disturb"
        | "busy"
        | "away"
        | "available";
    photoUrl?: string;
    title?: string;
    useInitials?: boolean;
}

Properties

buttons?: ContactInfoButtons[]

An array of buttons to display on the contact card.

details: ListPairs[]

An array of detail list objects that can be used for logical grouping of contact details.

name: string

Name of the contact.

onlineStatus?:
    | "offline"
    | "do-not-disturb"
    | "busy"
    | "away"
    | "available"

The contact's online status.

photoUrl?: string

URL for the contact's profile photo.

title?: string

Title of the contact.

useInitials?: boolean

A flag to indicate that the contact card should display the contact's initials as profile photo if the photo url is undefined.