WAWebBotProfileModel

Hierarchy (view full)

Constructors

Properties

attributes: Props & Session
attrs?: any
category?: any
commands: any[]
commandsDescription: any
contact: ContactModel
creatorName?: string
creatorProfileUrl?: string
description?: any
id: Wid
idClass: typeof Wid
isDefault: boolean
isMetaCreated: boolean
isState
lastUpdateTs: number
mirrorMask: {
    change:attrs: undefined | number;
    change:category: undefined | number;
    change:commands: number;
    change:commandsDescription: number;
    change:contact: number;
    change:creatorName: undefined | number;
    change:creatorProfileUrl: undefined | number;
    change:description: undefined | number;
    change:id: number;
    change:isDefault: number;
    change:isMetaCreated: number;
    change:lastUpdateTs: number;
    change:name: number;
    change:personaId: number;
    change:prompts: undefined | number;
}
name: string
parent?: any
personaId: string
prompts?: any[]
proxyName: string
allowedIds?: any[]
idClass?: any
Proxy: string

Methods

  • 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.

  • 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.