Class SocialEvent

java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.social.SocialEvent
Direct Known Subclasses:
SocialActivityEvent, SocialRepostersEvent

public abstract class SocialEvent extends Event
An event from a social media platform
Author:
mcawful
  • Constructor Details

    • SocialEvent

      protected SocialEvent(String platform)
      Constructor
      Parameters:
      platform - the id of the platform, such as bluesky
  • Method Details

    • getPlatform

      public String getPlatform()
      Returns the id of the platform the event came from
      Returns:
      the platform id, such as bluesky