Click or drag to resize

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

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,
	string beforeMessage,
	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
beforeMessage
Type: SystemString
only list messages sent only before this message by id.
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