Skip to content

Commit

Permalink
Add delay and tags parameters to modify_stream()
Browse files Browse the repository at this point in the history
  • Loading branch information
eelcohn authored Dec 5, 2024
1 parent 7f86200 commit fd713e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions twitchio/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,8 @@ async def modify_stream(
game_id: int = None,
language: str = None,
title: str = None,
delay: int = None,
tags: List[str] = None,
content_classification_labels: List[Dict[str, Union[str, bool]]] = None,
is_branded_content: bool = None,
):
Expand All @@ -975,6 +977,10 @@ async def modify_stream(
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”.
title: :class:`str`
Optional title of the stream.
delay: :class:`int`
Optional the number of seconds you want your broadcast buffered before streaming it live.
tags: List[:class:`str`]
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.
content_classification_labels: List[Dict[:class:`str`, Union[:class:`str`, :class:`bool`]]]
List of labels that should be set as the Channel's CCLs.
is_branded_content: :class:`bool`
Expand All @@ -997,6 +1003,8 @@ async def modify_stream(
game_id=game_id,
language=language,
title=title,
delay=delay,
tags=tags,
content_classification_labels=content_classification_labels,
is_branded_content=is_branded_content,
)
Expand Down

0 comments on commit fd713e0

Please sign in to comment.