Package tv.phantombot.event.social
Class SocialEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.social.SocialEvent
- Direct Known Subclasses:
SocialActivityEvent,SocialRepostersEvent
An event from a social media platform
- Author:
- mcawful
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the id of the platform the event came from
-
Constructor Details
-
SocialEvent
Constructor- Parameters:
platform- the id of the platform, such asbluesky
-
-
Method Details
-
getPlatform
Returns the id of the platform the event came from- Returns:
- the platform id, such as
bluesky
-