Alerts - Functions
The Alerts (accessible from Main.Alerts) class simply gives you the function to show alerts.
Functions
ShowAlert(Contact, strEvent)
Shows a MessengerDiscovery alert. If a contact is pinned, then the pin text is updated. If a contact is filtered from alerts then the alert will not be shown.
Contact (Contact) a contact object that you are showing the alert for. If you wish to show an alert for the current user use Main.User.AsContact.
strEvent (String) is the event string to be shown in the alert.