Skip to main content
Version: v4 (Stable)

SendTeamMessage

SendTeamMessage(nTeamId As Integer, sStationName As String, sGroupName As String, sTeamName As String, sMessage As String[, sNumeric As String[, sAudio As String[, sInstruction As String[, nOptions As Integer]]]]) As Integer

Sends a service message to all operators of a team.

The team is designated either by its identifier <nTeamId> if it is non null, or by its name <sTeamName>, the name of the group to which it belongs <sGroupName> and the name of its station <sStationName>.

The sent message is defined by the following parameters:

  • <sMessage>: the long alphanumeric message
  • <sNumeric>: the short message (optional)
  • <sAudio>: the name of the audio file associated with the message (optional)
  • <sInstruction>: the name of the instruction file associated with the message (optional)
  • <nOptions>: call options (optional, unused)

Returns an error code (0 if no error).