@wppconnect-team/wppconnect - v1.36.4
    Preparing search index...

    Class AttachMediaModel

    80666

    480666 >= 2.2222.8

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    attributes: Props & Session
    caption?: any
    collection?: undefined
    documentPageCount?: any
    editedFile?: any
    exception?: any
    file?: any
    fileExt?: any
    filename?: any
    fileOrigin?: any
    filesize?: any
    fullPreview?: any
    fullPreviewSize?: any
    gifAttribution?: any
    id?: any
    isGif: boolean
    isState: true
    isVcardOverMmsDocument: boolean
    mediaEditorData?: any
    mediaPrep?: any
    mimetype?: any
    mirrorMask: {
        "change:caption"?: number;
        "change:documentPageCount"?: number;
        "change:editedFile"?: number;
        "change:exception"?: number;
        "change:file"?: number;
        "change:fileExt"?: number;
        "change:filename"?: number;
        "change:fileOrigin"?: number;
        "change:filesize"?: number;
        "change:fullPreview"?: number;
        "change:fullPreviewSize"?: number;
        "change:gifAttribution"?: number;
        "change:id"?: number;
        "change:isGif": number;
        "change:isVcardOverMmsDocument": number;
        "change:mediaEditorData"?: number;
        "change:mediaPrep"?: number;
        "change:mimetype"?: number;
        "change:originalMimetype"?: number;
        "change:preview"?: number;
        "change:previewable"?: number;
        "change:processPromise"?: number;
        "change:stale"?: number;
        "change:state"?: number;
        "change:type"?: number;
        "change:uiProcessed"?: number;
    }
    originalMimetype?: any
    parent?: any
    preview?: any
    previewable?: any
    processPromise?: any
    proxyName: string
    stale?: any
    state?: any
    type?: any
    uiProcessed?: any
    allowedIds?: any[]
    idClass?: any
    Proxy: string

    Methods

    • Parameters

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

      Returns void

    • Alias of on

      Parameters

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

      Returns this

      on

    • Returns boolean

    • Returns boolean

    • Returns void

    • Returns void

    • Returns void

    • Alias of trigger

      Parameters

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

      Returns this

      trigger

    • Returns any

    • Returns boolean

    • Returns boolean

    • Parameters

      • Optionale: boolean

      Returns void

    • Returns void

    • Parameters

      • eventName: Event

      Returns boolean

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

    • Parameters

      • Optionale: any

      Returns any

    • Returns any

    • 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

    • Parameters

      • Optionale: any
      • Optionalt: any

      Returns any

    • Returns Props

    • Parameters

      • ...args: any

      Returns any

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

    • Returns any

    • Parameters

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

      Returns void

    • Parameters

      • Optionale: any

      Returns any

    • Parameters

      • Optionale: any

      Returns any

    • Parameters

      • Optionale: any

      Returns any

    • Parameters

      • Optionale: any
      • Optionalt: any

      Returns any

    • Parameters

      • Optionale: any

      Returns any

    • Parameters

      • e: any

      Returns boolean