BroadcastMessage
Posted by Mohammad Rahhal, Last modified by Laith Ghawi on 01 July 2019 11:41 AM

Syntax

Public Function BroadcastMessage(ClientID As Integer,Title As String,Message As String) As CallingResultsEnum

Description

This function is used to send a message to specific client/group/office.

Parameters

Parameter Description 
ClientID Client/group/office number that will be sent message,value of type is Integer.
Title The message title , value of type is String.
Message The message content ,value of type is String.

Return value 

Returns value of type CallingResultsEnum. If the request sent to server successfully it will return SuccessResult.

Sample

  Private Sub SendMessage_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendMessage.Click

    ‘BOAPI is predefined variable as CVertexBOAPI

     Dim vClient as COClient
     vClient = BOAPI.ClientByIndex (1)

     Dim Result As CallingResultsEnum = BOAPI.BroadcastMessage(vClient.ClientID, ”Title”,  “Message Content” )
        MsgBox(Result)

  End Sub

 


See Also


VertexFX Backoffice API Index

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions