OnAppUIActionInMailEvent: { timestamp: number; uiId: string; action: { type: "Action.Execute" | "Action.OpenUrl" | "Action.ToggleVisibility" | "Action.Submit"; id?: string; title?: string; url?: string; verb?: string; data?: Record<string, any> } }

Type declaration

  • timestamp: number
  • uiId: string

    the id of ui which trigger the action

  • action: { type: "Action.Execute" | "Action.OpenUrl" | "Action.ToggleVisibility" | "Action.Submit"; id?: string; title?: string; url?: string; verb?: string; data?: Record<string, any> }

    action data

    • type: "Action.Execute" | "Action.OpenUrl" | "Action.ToggleVisibility" | "Action.Submit"

      action type

    • Optional id?: string

      action id

    • Optional title?: string

      the text of action button

    • Optional url?: string

      only exist when type is Action.OpenUrl

    • Optional verb?: string

      only exist when type is Action.Execute

    • Optional data?: Record<string, any>

      only exist when type is Action.Execute or Action.Submit

Generated using TypeDoc