Skip to content

Commit fd713e0

Browse files
authored
Add delay and tags parameters to modify_stream()
1 parent 7f86200 commit fd713e0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

twitchio/user.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,8 @@ async def modify_stream(
958958
game_id: int = None,
959959
language: str = None,
960960
title: str = None,
961+
delay: int = None,
962+
tags: List[str] = None,
961963
content_classification_labels: List[Dict[str, Union[str, bool]]] = None,
962964
is_branded_content: bool = None,
963965
):
@@ -975,6 +977,10 @@ async def modify_stream(
975977
Optional language of the channel. A language value must be either the ISO 639-1 two-letter code for a supported stream language or “other”.
976978
title: :class:`str`
977979
Optional title of the stream.
980+
delay: :class:`int`
981+
Optional the number of seconds you want your broadcast buffered before streaming it live.
982+
tags: List[:class:`str`]
983+
Optional a list of channel-defined tags to apply to the channel. To remove all tags from the channel, set tags to an empty array.
978984
content_classification_labels: List[Dict[:class:`str`, Union[:class:`str`, :class:`bool`]]]
979985
List of labels that should be set as the Channel's CCLs.
980986
is_branded_content: :class:`bool`
@@ -997,6 +1003,8 @@ async def modify_stream(
9971003
game_id=game_id,
9981004
language=language,
9991005
title=title,
1006+
delay=delay,
1007+
tags=tags,
10001008
content_classification_labels=content_classification_labels,
10011009
is_branded_content=is_branded_content,
10021010
)

0 commit comments

Comments
 (0)