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:
@@ -4630,7 +4630,7 @@ class TeleBot:
|
|||||||
:return: On success, information about the created topic is returned as a ForumTopic object.
|
:return: On success, information about the created topic is returned as a ForumTopic object.
|
||||||
:rtype: :class:`telebot.types.ForumTopic`
|
: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)
|
apihelper.create_forum_topic(self.token, chat_id, name, icon_color, icon_custom_emoji_id)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user