mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-01 20:44:04 -04:00
18 lines
295 B
Python
Executable File
18 lines
295 B
Python
Executable File
from __future__ import annotations
|
|
|
|
from typing import TYPE_CHECKING
|
|
|
|
if TYPE_CHECKING:
|
|
from .types import Embed as EmbedPayload
|
|
|
|
|
|
__all__ = ("Embed",)
|
|
|
|
class Embed:
|
|
@classmethod
|
|
def from_dict(cls, data: EmbedPayload):
|
|
...
|
|
|
|
def to_dict(self) -> EmbedPayload:
|
|
...
|