Package com.linecorp.bot.model.event
Class UnsendEvent.UnsendEventBuilder
java.lang.Object
com.linecorp.bot.model.event.UnsendEvent.UnsendEventBuilder
- Enclosing class:
- UnsendEvent
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
deliveryContext
(DeliveryContext deliveryContext) Get delivery context.Channel state.JSON object which contains the source of the event.Time of the event.toString()
unsend
(UnsendEvent.UnsendDetail unsend) webhookEventId
(String webhookEventId) Webhook Event ID.
-
Method Details
-
source
JSON object which contains the source of the event.- Returns:
this
.
-
timestamp
Time of the event.- Returns:
this
.
-
mode
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 (under development)
- The channel is waiting. The bot server that received this webhook event shouldn't send any messages.
- Returns:
this
.
-
webhookEventId
Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.- Returns:
this
.
-
deliveryContext
Get delivery context.- Returns:
this
.
-
unsend
- Returns:
this
.
-
build
-
toString
-