mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Update __init__.py
This commit is contained in:
parent
ae1845f285
commit
8b735aa114
@ -4630,7 +4630,7 @@ class TeleBot:
|
||||
:return: On success, information about the created topic is returned as a ForumTopic object.
|
||||
:rtype: :class:`telebot.types.ForumTopic`
|
||||
"""
|
||||
return types.ForumTopic(
|
||||
return types.ForumTopic.de_json(
|
||||
apihelper.create_forum_topic(self.token, chat_id, name, icon_color, icon_custom_emoji_id)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user