Skip to main content
Version: SDK-5.11.2

OnNewNoticeCreated

public OnNewNoticeCreateNotification OnNewNoticeCreated;

Parameters

ValueTypeDescription
titlestringAnnouncement title
contentstringAnnouncement content

Description

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

The following events generate real-time notifications:

  • Posting announcements immediately
  • Reserving announcement posting(responds at the scheduled time)

The following events do not generate notifications:

  • Deleting announcements
  • Changing announcement content
  • Posting private announcements
  • Changing visibility of announcements

Example

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