Request to send messages to users/groups
name | data type | constraints | description |
---|---|---|---|
message | string | Message to be sent. This may be an i18n key. | |
translations | map of string | Optional map of translations per language code. If a translation for the adressees language is found here, it will be used. | |
parameters | array of string | Optional list of parameters, that are filled into the message (if the message is an i18n key) | |
toGroupId | array of number | List of group IDs to send the message | |
toUserId | array of number | List of user IDs to send the message | |
instantTimeMinutes | number | required int | Gets the value of the instantTimeMinutes field. |
Example
{ "message" : "...", "translations" : { "property1" : "...", "property2" : "..." }, "parameters" : [ "...", "..." ], "toGroupId" : [ 12345, 12345 ], "toUserId" : [ 12345, 12345 ], "instantTimeMinutes" : 12345 }