Type alias MessageRelayOptions

MessageRelayOptions: MinimalRelayOptions & {
    additionalAttributes?: {
        [_: string]: string;
    };
    participant?: {
        count: number;
        jid: string;
    };
    statusJidList?: string[];
    useUserDevicesCache?: boolean;
}

Type declaration

  • Optional additionalAttributes?: {
        [_: string]: string;
    }

    additional attributes to add to the WA binary node

    • [_: string]: string
  • Optional participant?: {
        count: number;
        jid: string;
    }

    only send to a specific participant; used when a message decryption fails for a single user

    • count: number
    • jid: string
  • Optional statusJidList?: string[]

    jid list of participants for status@broadcast

  • Optional useUserDevicesCache?: boolean

    should we use the devices cache, or fetch afresh from the server; default assumed to be "true"

Generated using TypeDoc