Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ThingsScenarioExecutionEvent

guide

Check official reference.

Hierarchy

  • EventObject<"things", "scenario_result">
  • EventBase
  • Repliable
  • DeviceLink
  • ThingsScenarioExecution
    • ThingsScenarioExecutionEvent

Index

Properties

[toStringTag]: "LineEvent"
actionResults: { data: string; type: string }[]

Execution result of individual operations specified in action

bleNotificationPayload: "AQ=="

Data contained in notification. The value is Base64-encoded binary data. Only included for scenarios where trigger.type = BLE_NOTIFICATION.

category: "things"
channel: LineChat
deviceId: string

Device ID of the device that has been linked with LINE.

endTime: number

Timestamp for when execution of scenario was completed (milliseconds, LINE app time)

errorReason?: string
payload: LineRawEvent
platform: "line"
replyToken: string

Token for replying to the event.

resultCode: "success" | "gatt_error" | "runtime_error"

Scenario execution completion status

revision: number

Revision number of the scenario set containing the executed scenario

scenarioId: string

Scenario ID executed.

source: LineSource

Source user, group, or room object with information about the source of the event.

startTime: number

Timestamp for when execution of scenario action started (milliseconds, LINE app time)

timestamp: number

Time of the event in milliseconds.

type: "scenario_result"
user: LineUser
userId: undefined | string

ID of the source user.

Generated using TypeDoc