Skip to content

@line/bot-sdkDocs


@line/bot-sdk / EventBase

Type Alias: EventBase

EventBase: object

Type declaration

deliveryContext

deliveryContext: DeliveryContext

Whether the webhook event is a redelivered one or not

mode

mode: "active" | "standby"

Channel state.

active: The channel is active. You can send a reply message or push message from the bot server that received this webhook event.

standby: The channel is waiting. The bot server that received this webhook event shouldn't send any messages.

source

source: EventSource

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

timestamp

timestamp: number

Time of the event in milliseconds

webhookEventId

webhookEventId: string

Webhook Event ID, an ID that uniquely identifies a webhook event

Defined in

lib/types.ts:68