Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 1db03c4

Browse files
committed
Fix for older Python versions
1 parent 210f538 commit 1db03c4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pyrogram/methods/users/get_default_emoji_statuses.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
# You should have received a copy of the GNU Lesser General Public License
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

19+
from typing import List
20+
1921
import pyrogram
2022
from pyrogram import raw
2123
from pyrogram import types
@@ -24,7 +26,7 @@
2426
class GetDefaultEmojiStatuses:
2527
async def get_default_emoji_statuses(
2628
self: "pyrogram.Client",
27-
) -> types.List["types.EmojiStatus"]:
29+
) -> List["types.EmojiStatus"]:
2830
"""Get the default emoji statuses.
2931
3032
Returns:

0 commit comments

Comments
 (0)