[types] Update PremiumType and StickerFormatType

This commit is contained in:
EXPLOSION authored and GitHub committed 2023-07-04 22:43:06 -04:00
1 parent c448932fa0
commit eb06129378
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ from typing_extensions import NotRequired
from .snowflake import Snowflake from .snowflake import Snowflake
from .user import User from .user import User
StickerFormatType = Literal[1, 2, 3] StickerFormatType = Literal[1, 2, 3, 4]
class StickerItem(TypedDict): class StickerItem(TypedDict):
+1 -1
View File
@@ -34,7 +34,7 @@ class PartialUser(TypedDict):
global_name: Optional[str] global_name: Optional[str]
PremiumType = Literal[0, 1, 2] PremiumType = Literal[0, 1, 2, 3]
class User(PartialUser, total=False): class User(PartialUser, total=False):