|
@ -689,10 +689,12 @@ class View(BaseView): |
|
|
if TYPE_CHECKING: |
|
|
if TYPE_CHECKING: |
|
|
|
|
|
|
|
|
@classmethod |
|
|
@classmethod |
|
|
def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> View: ... |
|
|
def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> View: |
|
|
|
|
|
... |
|
|
|
|
|
|
|
|
@classmethod |
|
|
@classmethod |
|
|
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> View: ... |
|
|
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> View: |
|
|
|
|
|
... |
|
|
|
|
|
|
|
|
def __init_subclass__(cls) -> None: |
|
|
def __init_subclass__(cls) -> None: |
|
|
super().__init_subclass__() |
|
|
super().__init_subclass__() |
|
@ -785,10 +787,12 @@ class LayoutView(BaseView): |
|
|
if TYPE_CHECKING: |
|
|
if TYPE_CHECKING: |
|
|
|
|
|
|
|
|
@classmethod |
|
|
@classmethod |
|
|
def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> LayoutView: ... |
|
|
def from_dict(cls, data: List[ComponentPayload], *, timeout: Optional[float] = 180.0) -> LayoutView: |
|
|
|
|
|
... |
|
|
|
|
|
|
|
|
@classmethod |
|
|
@classmethod |
|
|
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> LayoutView: ... |
|
|
def from_message(cls, message: Message, /, *, timeout: Optional[float] = 180.0) -> LayoutView: |
|
|
|
|
|
... |
|
|
|
|
|
|
|
|
def __init__(self, *, timeout: Optional[float] = 180.0) -> None: |
|
|
def __init__(self, *, timeout: Optional[float] = 180.0) -> None: |
|
|
super().__init__(timeout=timeout) |
|
|
super().__init__(timeout=timeout) |
|
|