Skip to main content
Version: 5.11.8

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:

  • Immediate announcement post
  • Reserved announcement post (responds at the scheduled time)

The following events do not generate notifications:

  • Announcement deletion
  • Change of announcement content
  • Private announcement post
  • Change of announcement's public/private status

Example

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