mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-27 08:19:47 +03:00
Fix typo
This commit is contained in:
parent
7c6aa361d3
commit
bd28f8900d
|
@ -9,7 +9,7 @@ if TYPE_CHECKING:
|
|||
from ..message import Message
|
||||
|
||||
|
||||
ButtonType: TypeAlias = (
|
||||
RawButtonType: TypeAlias = (
|
||||
types.KeyboardButton
|
||||
| types.KeyboardButtonUrl
|
||||
| types.KeyboardButtonCallback
|
||||
|
@ -53,7 +53,7 @@ class Button:
|
|||
f"Can't instantiate abstract class {self.__class__.__name__}"
|
||||
)
|
||||
|
||||
self._raw: ButtonType = types.KeyboardButton(text=text)
|
||||
self._raw: RawButtonType = types.KeyboardButton(text=text)
|
||||
self._msg: Optional[weakref.ReferenceType[Message]] = None
|
||||
|
||||
@property
|
||||
|
|
Loading…
Reference in New Issue
Block a user