Lists all rooms where the authenticated user belongs.
            
 
    Namespace: 
   SparkSDK
    Assembly:
   SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntaxpublic void List(
	string teamId,
	Nullable<int> max,
	Nullable<RoomType> type,
	Nullable<RoomSortType> sortBy,
	Action<SparkApiEventArgs<List<Room>>> completionHandler
)
Parameters
- teamId
 - Type: SystemString
If not null, only list the rooms that are associated with the team by team id. - max
 - Type: SystemNullableInt32
The maximum number of rooms in the response. If null, all rooms are listed. - type
 - Type: SystemNullableRoomType
If not null, only list the rooms of this type. Otherwise all rooms are listed. - sortBy
 - Type: SystemNullableRoomSortType
If not null, sort results by roomId(id), most recent activity(lastactivity), or most recently created(created). - completionHandler
 - Type: SystemActionSparkApiEventArgsListRoom
The completion handler. 
RemarksSince: 0.1.0
See Also