Skip to main content
Version: 5.9.6

OnNewEventCreated

public OnNewEventCreateNotification OnNewEventCreated

Parameters

ValueTypeDescription
titlestringEvent title
contentstringEvent content

Description

This handler is called when a new event is created from BACKND Console.
You can check the registered title and content at the handler.

The following events generate real-time notifications:

  • Posting events immediately
  • Reserving event posting(responds at the scheduled time)

The following events do not generate notifications:

  • Deleting events
  • Changing event content
  • Posting private events
  • Changing visibility of events

Example

Backend.Notification.OnNewEventCreated= (string title, string content) => {
Debug.Log(
$"[OnNewEventCreated(new event created)]\n" +
$"| title : {title}\n" +
$"| content : {content}\n"
);
};