Class UnfollowEvent

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

public final class UnfollowEvent extends Object implements Event
Event object for when your account is blocked.
  • Method Details

    • builder

      public static UnfollowEvent.UnfollowEventBuilder builder()
    • 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
    • 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