Fired when the message text completes transferring.
func onEndTransfer(direction: Int32)
If a file is attached to the MessageText via the AttachedFile property, then EndTransfer fires again when the file finishes transferring. Please go to the description of the AttachedFile property for more information.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.