Package com.aliucord.api
Class NotificationsAPI
-
- All Implemented Interfaces:
public class NotificationsAPI
-
-
Constructor Summary
Constructors Constructor Description NotificationsAPI()
-
Method Summary
Modifier and Type Method Description static void
display(NotificationData data)
Displays a notification to the user. static void
display(NotificationData data, Long channelId)
Displays a notification to the user in a specific channel. -
-
Method Detail
-
display
static void display(NotificationData data)
Displays a notification to the user.
- Parameters:
data
- NotificationData
-
display
static void display(NotificationData data, Long channelId)
Displays a notification to the user in a specific channel.
- Parameters:
data
- NotificationDatachannelId
- Channel to display the notification in.
-
-
-
-