Skip to content

Commit 24a6b55

Browse files
committed
link -> meeting_url for record meeting
1 parent 0f03164 commit 24a6b55

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

videodb/client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def upload(
299299

300300
def record_meeting(
301301
self,
302-
link: str,
302+
meeting_url: str,
303303
bot_name: str = None,
304304
bot_image_url: str = None,
305305
meeting_name: str = None,
@@ -309,7 +309,7 @@ def record_meeting(
309309
) -> Meeting:
310310
"""Record a meeting and upload it to the default collection.
311311
312-
:param str link: Meeting link
312+
:param str meeting_url: Meeting url
313313
:param str bot_name: Name of the recorder bot
314314
:param str bot_image_url: URL of the recorder bot image
315315
:param str meeting_name: Name of the meeting
@@ -323,7 +323,7 @@ def record_meeting(
323323
response = self.post(
324324
path=f"{ApiPath.collection}/default/{ApiPath.meeting}/{ApiPath.record}",
325325
data={
326-
"link": link,
326+
"meeting_url": meeting_url,
327327
"bot_name": bot_name,
328328
"bot_image_url": bot_image_url,
329329
"meeting_name": meeting_name,

videodb/collection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def make_private(self):
515515

516516
def record_meeting(
517517
self,
518-
link: str,
518+
meeting_url: str,
519519
bot_name: str = None,
520520
bot_image_url: str = None,
521521
meeting_name: str = None,
@@ -525,7 +525,7 @@ def record_meeting(
525525
) -> Meeting:
526526
"""Record a meeting and upload it to this collection.
527527
528-
:param str link: Meeting link
528+
:param str meeting_url: Meeting url
529529
:param str bot_name: Name of the recorder bot
530530
:param str bot_image_url: URL of the recorder bot image
531531
:param str meeting_name: Name of the meeting
@@ -539,7 +539,7 @@ def record_meeting(
539539
response = self._connection.post(
540540
path=f"{ApiPath.collection}/{self.id}/{ApiPath.meeting}/{ApiPath.record}",
541541
data={
542-
"link": link,
542+
"meeting_url": meeting_url,
543543
"bot_name": bot_name,
544544
"bot_image_url": bot_image_url,
545545
"meeting_name": meeting_name,

0 commit comments

Comments
 (0)