Creates a room. The authenticated user is automatically added as a member of the room. See the Memberships API to learn how to add more people to the room.
Namespace:
SparkSDK
Assembly:
SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax public void Create(
string title,
string teamId,
Action<SparkApiEventArgs<Room>> completionHandler
)
Parameters
- title
- Type: SystemString
A user-friendly name for the room. - teamId
- Type: SystemString
If not null, this room will be associated with the team by team id. Otherwise, this room is not associated with any team. - completionHandler
- Type: SystemActionSparkApiEventArgsRoom
The completion event handler.
Remarks Since: 0.1.0
See Also