Skip to content

Commit 4542e36

Browse files
committed
Add callback data option in collection for meeting recroder
1 parent c04632e commit 4542e36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

videodb/collection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,7 @@ def record_meeting(
491491
bot_name: str,
492492
meeting_name: str,
493493
callback_url: str,
494+
callback_data: dict = {},
494495
time_zone: str = "UTC",
495496
) -> dict:
496497
"""Record a meeting and upload it to this collection.
@@ -499,6 +500,7 @@ def record_meeting(
499500
:param str bot_name: Name of the recorder bot
500501
:param str meeting_name: Name of the meeting
501502
:param str callback_url: URL to receive callback once recording is done
503+
:param dict callback_data: Data to be sent in the callback (optional)
502504
:param str time_zone: Time zone for the meeting (default ``UTC``)
503505
:return: Response data from the API
504506
:rtype: dict
@@ -511,6 +513,7 @@ def record_meeting(
511513
"bot_name": bot_name,
512514
"meeting_name": meeting_name,
513515
"callback_url": callback_url,
516+
"callback_data": callback_data,
514517
"time_zone": time_zone,
515518
},
516519
)

0 commit comments

Comments
 (0)