Skip to content

Commit fcbb2bd

Browse files
committed
Add chat_user_banned to RevocationReason
Add chat_user_banned to RevocationReason Enum and SubscriptionRevoked
1 parent 291ed2f commit fcbb2bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

twitchio/eventsub/enums.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,4 @@ class RevocationReason(enum.Enum):
257257
AUTHORIZATION_REVOKED = "authorization_revoked"
258258
NOTIFICATION_FAILURES_EXCEEDED = "notification_failures_exceeded"
259259
VERSION_REMOVED = "version_removed"
260+
CHAT_USER_BANNED = "chat_user_banned"

twitchio/types_/conduits.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ class RevocationTransport(TypedDict):
209209

210210
class RevocationSubscription(TypedDict):
211211
id: str
212-
status: Literal["authorization_revoked", "user_removed", "version_removed", "notification_failures_exceeded"]
212+
status: Literal[
213+
"authorization_revoked", "user_removed", "version_removed", "notification_failures_exceeded", "chat_user_banned"
214+
]
213215
type: str
214216
version: str
215217
cost: int

0 commit comments

Comments
 (0)