Skip to content

Commit 7f86200

Browse files
authored
Add delay and tags parameters to patch_channel()
1 parent 567c479 commit 7f86200

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

twitchio/http.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,16 +768,20 @@ async def patch_channel(
768768
game_id: str = None,
769769
language: str = None,
770770
title: str = None,
771+
delay: int = None,
772+
tags: List[str] = None,
771773
content_classification_labels: List[Dict[str, Union[str, bool]]] = None,
772774
is_branded_content: bool = None,
773775
):
774-
assert any((game_id, language, title, content_classification_labels, is_branded_content))
776+
assert any((game_id, language, title, delay, tags, content_classification_labels, is_branded_content))
775777
body = {
776778
k: v
777779
for k, v in {
778780
"game_id": game_id,
779781
"broadcaster_language": language,
780782
"title": title,
783+
"delay": delay,
784+
"tags": tags,
781785
"is_branded_content": is_branded_content,
782786
}.items()
783787
if v is not None

0 commit comments

Comments
 (0)