SetMessage method: PTNotification class
Syntax
SetMessage(message, channel)
Description
Use this method to set the message payload per channel. For mail channel, content type and encoding are configured separately.
Parameters
| Parameter | Description |
|---|---|
|
message |
Specifies the message payload as a String value. |
|
channel |
Specifies the message channel as a Number value. The channels are as follows:
|
Returns
None.
Example
&objBroadcast.SetMessage("This is for demo", 0);