Skip to content

@line/bot-sdkDocs


@line/bot-sdk / ImageEventMessage

Type Alias: ImageEventMessage

ImageEventMessage: object & QuotableMessage & EventMessageBase

Message object which contains the image content sent from the source. The binary image data can be retrieved using Client#getMessageContent.

Type declaration

contentProvider

contentProvider: ContentProvider

imageSet?

optional imageSet: object

Object containing the number of images sent simultaneously.

imageSet.id

id: string

Image set ID. Only included when multiple images are sent simultaneously.

imageSet.index

index: number

An index starting from 1, indicating the image number in a set of images sent simultaneously. Only included when multiple images are sent simultaneously. However, it won't be included if the sender is using LINE 11.15 or earlier for Android.

imageSet.total

total: number

The total number of images sent simultaneously. If two images are sent simultaneously, the number is 2. Only included when multiple images are sent simultaneously. However, it won't be included if the sender is using LINE 11.15 or earlier for Android.

type

type: "image"

Defined in

lib/types.ts:488