Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
Message Class
Message Methods
SetBodyAndReportTyping Method
SetBodyAndReportTyping Method (String, Message.CompletionHandler)
SetBodyAndReportTyping Method (String, String, Message.CompletionHandler)

# Message SetBodyAndReportTyping Method (String, Message CompletionHandler)

Sets the body of the draft message and the "is typing" chat state.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
Copy

    public int SetBodyAndReportTyping(
    	string body,
    	MessageCompletionHandler completionHandler
    )

#### Parameters

body
  Type: System
  String
  The new message body text to set.
completionHandler
  Type: Avaya.ClientServices
  Message
  CompletionHandler
  The completion handler which will be invoked when the operation completes. Operation success or failure is reported through this handler.

#### Return Value

Type: Int32
The remaining number of characters that can be added to the message body text (compared with the limit).
Remarks
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

#### Reference

Message Class
SetBodyAndReportTyping Overload
Avaya.ClientServices Namespace
Message
ReportTyping(Boolean)
Message
UpdateBodyCapability
Message
Body
Message
BodyChanged
Message
SetBodyAndReportTyping(String, String, Message
CompletionHandler)

© 2017 Avaya LLC. All Rights Reserved.