From 1db03c4351b56e620af6a8a0c604aa5a5ce79ff5 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 3 Sep 2022 14:23:52 +0200 Subject: [PATCH] Fix for older Python versions --- pyrogram/methods/users/get_default_emoji_statuses.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyrogram/methods/users/get_default_emoji_statuses.py b/pyrogram/methods/users/get_default_emoji_statuses.py index b4d707bd..8c85a3c2 100644 --- a/pyrogram/methods/users/get_default_emoji_statuses.py +++ b/pyrogram/methods/users/get_default_emoji_statuses.py @@ -16,6 +16,8 @@ # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see . +from typing import List + import pyrogram from pyrogram import raw from pyrogram import types @@ -24,7 +26,7 @@ from pyrogram import types class GetDefaultEmojiStatuses: async def get_default_emoji_statuses( self: "pyrogram.Client", - ) -> types.List["types.EmojiStatus"]: + ) -> List["types.EmojiStatus"]: """Get the default emoji statuses. Returns: