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:
parent
f288470b43
commit
566aef1679
@ -6761,7 +6761,7 @@ class ForumTopicCreated(JsonDeserializable):
|
||||
obj = self.check_json(json_string)
|
||||
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.icon_color: int = icon_color
|
||||
self.icon_custom_emoji_id: Optional[str] = icon_custom_emoji_id
|
||||
|
Loading…
Reference in New Issue
Block a user