Skip to content

Commit c04632e

Browse files
committed
Add callback data option for meeting recroder
1 parent 85ec107 commit c04632e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

videodb/client.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ def record_meeting(
297297
bot_name: str,
298298
meeting_name: str,
299299
callback_url: str,
300+
callback_data: dict = {},
300301
time_zone: str = "UTC",
301302
) -> dict:
302303
"""Record a meeting and upload it to the default collection.
@@ -305,6 +306,7 @@ def record_meeting(
305306
:param str bot_name: Name of the recorder bot
306307
:param str meeting_name: Name of the meeting
307308
:param str callback_url: URL to receive callback once recording is done
309+
:param dict callback_data: Data to be sent in the callback (optional)
308310
:param str time_zone: Time zone for the meeting (default ``UTC``)
309311
:return: Response data from the API
310312
:rtype: dict
@@ -317,6 +319,7 @@ def record_meeting(
317319
"bot_name": bot_name,
318320
"meeting_name": meeting_name,
319321
"callback_url": callback_url,
322+
"callback_data": callback_data,
320323
"time_zone": time_zone,
321324
},
322325
)

0 commit comments

Comments
 (0)