Add WebhookType.application

This commit is contained in:
Rapptz
2021-05-30 10:02:58 -04:00
parent c6f3ed1af4
commit 267fad9180
3 changed files with 8 additions and 1 deletions

View File

@ -417,6 +417,7 @@ class TeamMembershipState(Enum):
class WebhookType(Enum):
incoming = 1
channel_follower = 2
application = 3
class ExpireBehaviour(Enum):
remove_role = 0

View File

@ -41,7 +41,7 @@ class _WebhookOptional(TypedDict, total=False):
token: str
WebhookType = Literal[1, 2]
WebhookType = Literal[1, 2, 3]
class _FollowerWebhookOptional(TypedDict, total=False):