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,
|
RecentAction,
|
||||||
User,
|
User,
|
||||||
)
|
)
|
||||||
from ..types.buttons.keyboard import KeyboardType
|
from ..types.buttons import KeyboardType
|
||||||
from .auth import (
|
from .auth import (
|
||||||
bot_sign_in,
|
bot_sign_in,
|
||||||
check_password,
|
check_password,
|
||||||
|
|
|
@ -22,7 +22,7 @@ from ..types import (
|
||||||
parse_message,
|
parse_message,
|
||||||
try_get_url_path,
|
try_get_url_path,
|
||||||
)
|
)
|
||||||
from ..types.buttons.keyboard import KeyboardType
|
from ..types.buttons import KeyboardType
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .client import Client
|
from .client import Client
|
||||||
|
|
|
@ -15,7 +15,7 @@ from ..types import (
|
||||||
parse_message,
|
parse_message,
|
||||||
peer_id,
|
peer_id,
|
||||||
)
|
)
|
||||||
from ..types.buttons.keyboard import KeyboardType
|
from ..types.buttons import KeyboardType
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from .client import Client
|
from .client import Client
|
||||||
|
|
|
@ -7,7 +7,7 @@ from ....tl import abcs, types
|
||||||
from .button import Button
|
from .button import Button
|
||||||
from .callback import Callback
|
from .callback import Callback
|
||||||
from .inline_button import InlineButton
|
from .inline_button import InlineButton
|
||||||
from .keyboard import InlineKeyboard, Keyboard
|
from .keyboard import InlineKeyboard, Keyboard, KeyboardType
|
||||||
from .request_geo_location import RequestGeoLocation
|
from .request_geo_location import RequestGeoLocation
|
||||||
from .request_phone import RequestPhone
|
from .request_phone import RequestPhone
|
||||||
from .request_poll import RequestPoll
|
from .request_poll import RequestPoll
|
||||||
|
@ -82,6 +82,7 @@ __all__ = [
|
||||||
"InlineButton",
|
"InlineButton",
|
||||||
"InlineKeyboard",
|
"InlineKeyboard",
|
||||||
"Keyboard",
|
"Keyboard",
|
||||||
|
"KeyboardType",
|
||||||
"RequestGeoLocation",
|
"RequestGeoLocation",
|
||||||
"RequestPhone",
|
"RequestPhone",
|
||||||
"RequestPoll",
|
"RequestPoll",
|
||||||
|
|
|
@ -12,8 +12,7 @@ from ..parsers import (
|
||||||
parse_html_message,
|
parse_html_message,
|
||||||
parse_markdown_message,
|
parse_markdown_message,
|
||||||
)
|
)
|
||||||
from .buttons import Button, as_concrete_row, create_button
|
from .buttons import Button, KeyboardType, as_concrete_row, create_button
|
||||||
from .buttons.keyboard import KeyboardType
|
|
||||||
from .file import File
|
from .file import File
|
||||||
from .meta import NoPublicConstructor
|
from .meta import NoPublicConstructor
|
||||||
from .peer import Peer, expand_peer, peer_id
|
from .peer import Peer, expand_peer, peer_id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user