Skip to content

ShareResult

🛈 DocStrings

Result of a text sharing operation.

Source code in src/anyenv/text_sharing/base.py
@dataclass
class ShareResult:
    """Result of a text sharing operation."""

    url: str
    """URL to access the shared content."""

    raw_url: str | None = None
    """Direct URL to raw content, if available."""

    delete_url: str | None = None
    """URL to delete the content, if available."""

    id: str | None = None
    """Provider-specific ID of the shared content."""

delete_url class-attribute instance-attribute

delete_url: str | None = None

URL to delete the content, if available.

id class-attribute instance-attribute

id: str | None = None

Provider-specific ID of the shared content.

raw_url class-attribute instance-attribute

raw_url: str | None = None

Direct URL to raw content, if available.

url instance-attribute

url: str

URL to access the shared content.

:fa-brands-github: Show source on GitHub