mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-27 08:19:47 +03:00
Fix import typo
This commit is contained in:
parent
3b5b6a1da7
commit
7c6aa361d3
|
@ -45,7 +45,7 @@ from ..types import (
|
|||
RecentAction,
|
||||
User,
|
||||
)
|
||||
from ..types.buttons.keyboard import KeyboardType
|
||||
from ..types.buttons import KeyboardType
|
||||
from .auth import (
|
||||
bot_sign_in,
|
||||
check_password,
|
||||
|
|
|
@ -22,7 +22,7 @@ from ..types import (
|
|||
parse_message,
|
||||
try_get_url_path,
|
||||
)
|
||||
from ..types.buttons.keyboard import KeyboardType
|
||||
from ..types.buttons import KeyboardType
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .client import Client
|
||||
|
|
|
@ -15,7 +15,7 @@ from ..types import (
|
|||
parse_message,
|
||||
peer_id,
|
||||
)
|
||||
from ..types.buttons.keyboard import KeyboardType
|
||||
from ..types.buttons import KeyboardType
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .client import Client
|
||||
|
|
|
@ -7,7 +7,7 @@ from ....tl import abcs, types
|
|||
from .button import Button
|
||||
from .callback import Callback
|
||||
from .inline_button import InlineButton
|
||||
from .keyboard import InlineKeyboard, Keyboard
|
||||
from .keyboard import InlineKeyboard, Keyboard, KeyboardType
|
||||
from .request_geo_location import RequestGeoLocation
|
||||
from .request_phone import RequestPhone
|
||||
from .request_poll import RequestPoll
|
||||
|
@ -82,6 +82,7 @@ __all__ = [
|
|||
"InlineButton",
|
||||
"InlineKeyboard",
|
||||
"Keyboard",
|
||||
"KeyboardType",
|
||||
"RequestGeoLocation",
|
||||
"RequestPhone",
|
||||
"RequestPoll",
|
||||
|
|
|
@ -12,8 +12,7 @@ from ..parsers import (
|
|||
parse_html_message,
|
||||
parse_markdown_message,
|
||||
)
|
||||
from .buttons import Button, as_concrete_row, create_button
|
||||
from .buttons.keyboard import KeyboardType
|
||||
from .buttons import Button, KeyboardType, as_concrete_row, create_button
|
||||
from .file import File
|
||||
from .meta import NoPublicConstructor
|
||||
from .peer import Peer, expand_peer, peer_id
|
||||
|
|
Loading…
Reference in New Issue
Block a user