1 parent 5d64de1 commit 7430529Copy full SHA for 7430529
1 file changed
pyrogram/client/methods/chats/get_chat.py
@@ -16,8 +16,9 @@
16
# You should have received a copy of the GNU Lesser General Public License
17
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
18
19
+import pyrogram
20
from pyrogram.api import functions, types
-from ...ext import BaseClient, utils
21
+from ...ext import BaseClient
22
23
24
class GetChat(BaseClient):
@@ -44,4 +45,4 @@ def get_chat(self, chat_id: int or str):
44
45
else:
46
r = self.send(functions.messages.GetFullChat(peer.chat_id))
47
- return utils.parse_chat_full(self, r)
48
+ return pyrogram.Chat.parse_full(self, r)
0 commit comments