Skip to content

Commit 1553a0b

Browse files
committed
Update docs
Update docs
1 parent b50351f commit 1553a0b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

docs/changelog.rst

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Master
1313

1414
- Added :class:`~twitchio.message.HypeChatData` for hype chat events
1515
- Added :attr:`~twitchio.message.Message.hype_chat_data` for hype chat events
16+
- Added :func:`~twitchio.Client.fetch_content_classification_labels` along with :class:`~twitchio.ContentClassificationLabel`
17+
- Added :attr:`~twitchio.ChannelInfo.content_classification_labels` and :attr:`~twitchio.ChannelInfo.is_branded_content` to :class:`~twitchio.ChannelInfo`
18+
- Added new parameters to :func:`~twitchio.PartialUser.modify_stream` for ``is_branded_content`` and ``content_classification_labels``
1619

1720
- Bug fixes
1821
- Fix :func:`~twitchio.Client.search_categories` due to :attr:`~twitchio.Game.igdb_id` being added to :class:`~twitchio.Game`

docs/reference.rst

+8
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ Clip
159159
:members:
160160
:inherited-members:
161161

162+
ContentClassificationLabel
163+
---------------------------
164+
.. attributetable:: ContentClassificationLabel
165+
166+
.. autoclass:: ContentClassificationLabel
167+
:members:
168+
:inherited-members:
169+
162170
CustomReward
163171
--------------
164172
.. attributetable:: CustomReward

twitchio/models.py

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"ShieldStatus",
8080
"ChatBadge",
8181
"ChatBadgeVersions",
82+
"ContentClassificationLabel",
8283
)
8384

8485

0 commit comments

Comments
 (0)