UNPKG

stanza-extend

Version:

Modern XMPP in the browser, with a JSON API

19 lines (18 loc) 449 B
import { JID } from '../JID'; import { DefinitionOptions } from '../jxt'; declare module './' { interface Message { rosterExchange?: RosterExchange[]; } interface IQPayload { rosterExchange?: RosterExchange[]; } } export interface RosterExchange { action: 'add' | 'delete' | 'modify'; jid: JID; name?: string; groups?: string[]; } declare const Protocol: DefinitionOptions[]; export default Protocol;