MessageClient Class |
Namespace: SparkSDK
public sealed class MessageClient
The MessageClient type exposes the following members.
Name | Description | |
---|---|---|
Delete |
Deletes a message by message id.
| |
DownloadFile |
Download a file object, save the file to pointed destination.
| |
DownloadThumbnail |
Download a file thumbnail, save the thumbnail to pointed destination.
| |
Get(String, ActionSparkApiEventArgsMessage) |
Retrieves the details for a message by message Id.
| |
Get(String, String, ActionSparkApiEventArgsMessage) |
Retrieves the details for a message by room Id and message Id.
| |
List(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.
| |
List(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.
| |
PostToPerson |
Posts a private 1:1 message in plain text, and optionally, a media content attachment, to a person by person email.
| |
PostToRoom |
Posts a plain text message, and optionally, mentions group and a media content attachment, to a room by room Id.
|