From 6078e3b08616cfe2b3f9b3890f252ddd2e018a9b Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 14 Jan 2023 12:04:44 +0100 Subject: Create directory for slack in typings --- slack/slack_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slack/slack_api.py') diff --git a/slack/slack_api.py b/slack/slack_api.py index 8408488..4d8df43 100644 --- a/slack/slack_api.py +++ b/slack/slack_api.py @@ -8,7 +8,7 @@ from slack.http import http_request from slack.shared import shared if TYPE_CHECKING: - from slack_api import SlackConversationInfoResponse + from slack_api.slack_conversations_info import SlackConversationsInfoResponse from slack.slack_conversation import SlackConversation from slack.slack_user import SlackUser @@ -56,7 +56,7 @@ class SlackApi: async def fetch_conversations_info( self, conversation: SlackConversation - ) -> SlackConversationInfoResponse: + ) -> SlackConversationsInfoResponse: return await self._fetch("conversations.info", {"channel": conversation.id}) async def fetch_users_conversations( -- cgit