Исходный код maxo.types.attachment

from abc import abstractmethod
from typing import TYPE_CHECKING

from maxo.enums.attachment_type import AttachmentType
from maxo.types.base import MaxoType

if TYPE_CHECKING:
    from maxo.types.attachments import AttachmentsRequests


[документация] class Attachment(MaxoType): """ Общая схема, представляющая вложение сообщения Args: type: """ type: AttachmentType
[документация] @abstractmethod def to_request(self) -> "AttachmentsRequests": raise NotImplementedError