Click or drag to resize

MessageSetBodyAndReportTyping Method (String, String, MessageCompletionHandler)

Sets the plain text body and HTML body of the draft message along with "is typing" chat state.

Namespace:  Avaya.ClientServices
Assembly:  AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
public void SetBodyAndReportTyping(
	string plaintTextBody,
	string htmlBody,
	MessageCompletionHandler completionHandler
)

Parameters

plaintTextBody
Type: SystemString
The new message body to be set in plain text format.
htmlBody
Type: SystemString
A client application that supports rich text messaging can set htmlBody with text in HTML format. htmlBody should be empty if client application does not support HTML capability.
completionHandler
Type: Avaya.ClientServicesMessageCompletionHandler
The completion handler which will be invoked when the operation completes. Operation success or failure is reported through this handler.
Remarks
Client application having HTML capability can set htmlBody with text in HTML format. Client application must set plain text body.If plain text body is empty, EmptyMessage error shall be reported. If the application doesn't want to repeatedly call this method with new body text just to report that the user is typing, it can use the ReportTyping(Boolean) method to do so.
See Also