createMeeting static method
Create a new meeting
Implementation
static Future<OverMediaResponse> createMeeting(
P2PStream stream, {
required String title,
String? description,
List<String>? tags,
String? hostName,
int? expectedSpeakers,
bool? isPublic,
bool? recordOnStart,
bool? liveStreamOnStart,
bool? allowRequests,
bool? spotlightEnabled,
int? spotlightFeeSats,
int? spotlightDurationSecs,
}) async {
return _send(stream, {
'type': 'create_meeting',
'title': title,
if (description != null) 'description': description,
if (tags != null) 'tags': tags,
if (hostName != null) 'hostName': hostName,
if (expectedSpeakers != null) 'expectedSpeakers': expectedSpeakers,
if (isPublic != null) 'isPublic': isPublic,
if (recordOnStart != null) 'recordOnStart': recordOnStart,
if (liveStreamOnStart != null) 'liveStreamOnStart': liveStreamOnStart,
if (allowRequests != null) 'allowRequests': allowRequests,
if (spotlightEnabled != null) 'spotlightEnabled': spotlightEnabled,
if (spotlightFeeSats != null) 'spotlightFeeSats': spotlightFeeSats,
if (spotlightDurationSecs != null)
'spotlightDurationSecs': spotlightDurationSecs,
});
}