Skip to content

Commit fb8817d

Browse files
committed
Add deprecation warning to fetch_hype_train_events
1 parent 557443d commit fb8817d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

twitchio/user.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1353,6 +1353,10 @@ def fetch_hype_train_events(
13531353
) -> HTTPAsyncIterator[HypeTrainEvent]:
13541354
"""|aiter|
13551355
1356+
.. warning::
1357+
This endpoint is deprecated and will stop working on 2025-12-4.
1358+
Please use :meth:`fetch_hype_train_status` instead.
1359+
13561360
Fetches information about the broadcaster's current or most recent Hype Train event.
13571361
13581362
Parameters

0 commit comments

Comments
 (0)