Click or drag to resize

MessageClient Methods

The MessageClient type exposes the following members.

Methods
  NameDescription
Public methodDelete
Deletes a message by message id.
Public methodDownloadFile
Download a file object, save the file to pointed destination.
Public methodDownloadThumbnail
Download a file thumbnail, save the thumbnail to pointed destination.
Public methodGet(String, ActionSparkApiEventArgsMessage)
Retrieves the details for a message by message Id.
Public methodGet(String, String, ActionSparkApiEventArgsMessage)
Retrieves the details for a message by room Id and message Id.
Public methodList(String, String, DateTime, NullableInt32, ActionSparkApiEventArgsListMessage)
Lists all messages in a room by room Id. If present, it includes the associated media content attachment for each message. The list sorts the messages in descending order by creation date.
Public methodList(String, String, String, NullableInt32, ActionSparkApiEventArgsListMessage)
Lists all messages in a room by room Id. If present, it includes the associated media content attachment for each message. The list sorts the messages in descending order by creation date.
Public methodPostToPerson
Posts a private 1:1 message in plain text, and optionally, a media content attachment, to a person by person email.
Public methodPostToRoom
Posts a plain text message, and optionally, mentions group and a media content attachment, to a room by room Id.
Top
See Also