36473

40122 >= 2.2204.13

736473 >= 2.2222.8

Hierarchy (view full)

Constructors

Properties

attributes: Props & Session
callInfo?: any
canHandleLocally: boolean
collection?: CallCollection
groupCallParticipants?: any
id: string
isGroup: boolean
isState
isVideo: boolean
mirrorMask: {
    change:callInfo: number;
    change:canHandleLocally: number;
    change:groupCallParticipants: number;
    change:id: number;
    change:isGroup: number;
    change:isVideo: number;
    change:offerTime: number;
    change:outgoing: number;
    change:peerJid: number;
    change:stale: number;
    change:webClientShouldHandle: number;
}
offerTime: number
outgoing: boolean
parent?: any
peerJid: WAJS.whatsapp.Wid
proxyName: string
stale?: any
webClientShouldHandle: boolean
allowedIds?: any[]
idClass?: any
Proxy: string

Methods

  • Parameters

    • id: Stringable
    • context: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns void

  • Alias of on

    Parameters

    • eventName: Event
    • listener: Listener
    • Optionalcontext: any

    Returns this

    on

  • Returns void

  • Returns void

  • Returns void

  • Alias of trigger

    Parameters

    • eventName: Event
    • Rest...args: any[]

    Returns this

    trigger

  • Type Parameters

    Parameters

    • attr: T

    Returns CallModel[T]

  • Type Parameters

    Parameters

    • attr: T

    Returns any

  • Returns CALL_STATES

  • Returns boolean

  • Returns boolean

  • Parameters

    • Optionale: boolean

    Returns void

  • Returns void

  • Parameters

    • eventName: Event

    Returns boolean

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Parameters

    • context: any

      The value of this provided for the call to listener

    • eventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    Returns this

  • Removes the specified listener from the listener array for the event named eventName.

    Parameters

    • OptionaleventName: Event

      The name of the event.

    • Optionallistener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Adds the listener function to the end of the listeners array for the event named eventName.

    Parameters

    • eventName: Event

      The name of the event.

    • listener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Adds a one-time listener function for the event named eventName.

    Parameters

    • eventName: Event

      The name of the event.

    • listener: Listener

      The callback function.

    • Optionalcontext: any

      The value of this provided for the call to listener

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Removes all listeners.

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Alias of off

    Parameters

    • OptionaleventName: Event
    • Optionallistener: Listener
    • Optionalcontext: any

    Returns this

    off

  • Returns void

  • Returns Props

  • Parameters

    • Rest...args: any

    Returns any

  • Parameters

    Returns void

  • Parameters

    • Optionalcontext: any
    • OptionaleventName: Event
    • Optionallistener: Listener

    Returns this

  • Returns Props

  • Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.

    Parameters

    • eventName: Event
    • Rest...args: any[]

    Returns this

    Returns a reference to the EventEmitter, so that calls can be chained.

  • Alias of off

    Parameters

    • OptionaleventName: Event
    • Optionallistener: Listener
    • Optionalcontext: any

    Returns this

    off

  • Parameters

    • ids: Stringable | Stringable[]
    • Optionalt: any

    Returns void

  • Parameters

    • e: any

    Returns boolean