2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Fix for older Python versions

This commit is contained in:
Dan 2022-09-03 14:23:52 +02:00
parent 210f538d55
commit 1db03c4351

View File

@ -16,6 +16,8 @@
# You should have received a copy of the GNU Lesser General Public License
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
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: