Click or drag to resize

MessageClientList Method (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.

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public void List(
	string roomId,
	string mentionedPeople,
	DateTime before,
	Nullable<int> max,
	Action<SparkApiEventArgs<List<Message>>> completionHandler
)

Parameters

roomId
Type: SystemString
The identifier of the room.
mentionedPeople
Type: SystemString
Only list messages mentioned self
before
Type: SystemDateTime
Only list messages sent only before this date
max
Type: SystemNullableInt32
The maximum number of messages in the response, default is 50
completionHandler
Type: SystemActionSparkApiEventArgsListMessage
The completion event handler.
Remarks
Since: 0.1.0
See Also