converse.js
Version:
Browser based XMPP chat client
31 lines (27 loc) • 659 B
text/typescript
import { ModelOptions } from '../../shared/types';
export interface VCardModelOptions extends ModelOptions {
lazy_load?: boolean; // Should the VCard be fetched only when needed?
}
export interface VCardResult {
email?: string;
fullname?: string;
image?: string;
image_hash?: string;
image_type?: string;
nickname?: string;
role?: string;
stanza: Element;
error?: Error;
url?: string;
vcard_error?: string;
vcard_updated?: string;
}
export type VCardData = {
fn?: string;
nickname?: string;
role?: string;
email?: string;
url?: string;
image_type?: string;
image?: string;
};