Add support for team membership role

This commit is contained in:
Rapptz
2023-08-25 11:49:03 -04:00
parent 42a1a68662
commit a756df3d5c
4 changed files with 43 additions and 4 deletions

View File

@ -42,6 +42,7 @@ __all__ = (
'ActivityType',
'NotificationLevel',
'TeamMembershipState',
'TeamMemberRole',
'WebhookType',
'ExpireBehaviour',
'ExpireBehavior',
@ -521,6 +522,13 @@ class TeamMembershipState(Enum):
accepted = 2
class TeamMemberRole(Enum):
owner = 'owner'
admin = 'admin'
developer = 'developer'
read_only = 'read_only'
class WebhookType(Enum):
incoming = 1
channel_follower = 2