Fix imports

This commit is contained in:
Lonami Exo
2021-09-12 13:27:13 +02:00
parent 28956496fc
commit f222dc167e
62 changed files with 322 additions and 301 deletions

View File

@@ -9,7 +9,8 @@ from . import (
telegrambaseclient, updates, uploads, users
)
from .. import helpers, version, _tl
from ..network import ConnectionTcpFull
from .._tl import custom
from .._network import ConnectionTcpFull
from ..events.common import EventBuilder, EventCommon
@@ -3390,7 +3391,7 @@ class TelegramClient:
await client.send_file(chat, file, progress_callback=callback)
# Dices, including dart and other future emoji
from telethon.tl import types
from telethon import _tl
await client.send_file(chat, _tl.InputMediaDice(''))
await client.send_file(chat, _tl.InputMediaDice('🎯'))