1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Fix wrong typehint for previous commit

This commit is contained in:
coder2020official 2022-11-06 14:49:13 +04:00
parent f288470b43
commit 566aef1679

View File

@ -6761,7 +6761,7 @@ class ForumTopicCreated(JsonDeserializable):
obj = self.check_json(json_string) obj = self.check_json(json_string)
return self(**obj) return self(**obj)
def __init__(self, name: str, icon_color: int, icon_custom_emoji_id: Optional[str]) -> None: def __init__(self, name: str, icon_color: int, icon_custom_emoji_id: Optional[str]=None) -> None:
self.name: str = name self.name: str = name
self.icon_color: int = icon_color self.icon_color: int = icon_color
self.icon_custom_emoji_id: Optional[str] = icon_custom_emoji_id self.icon_custom_emoji_id: Optional[str] = icon_custom_emoji_id