Class UnsendEvent

java.lang.Object
com.linecorp.bot.model.event.UnsendEvent
All Implemented Interfaces:
Event

public final class UnsendEvent extends Object implements Event
Event object for when the user unsends a message in a group or room.
  • Method Details

    • builder

      public static UnsendEvent.UnsendEventBuilder builder()
    • toBuilder

      public UnsendEvent.UnsendEventBuilder toBuilder()
    • getSource

      public Source getSource()
      JSON object which contains the source of the event.
      Specified by:
      getSource in interface Event
    • getTimestamp

      public Instant getTimestamp()
      Time of the event.
      Specified by:
      getTimestamp in interface Event
    • getMode

      public EventMode getMode()
      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.
      Specified by:
      getMode in interface Event
    • getWebhookEventId

      public String getWebhookEventId()
      Webhook Event ID. An ID that uniquely identifies a webhook event. This is a string in ULID format.
      Specified by:
      getWebhookEventId in interface Event
    • getDeliveryContext

      public DeliveryContext getDeliveryContext()
      Get delivery context.
      Specified by:
      getDeliveryContext in interface Event
    • getUnsend

      public UnsendEvent.UnsendDetail getUnsend()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object