# _types | 小棉智能
可爱，智能且易扩展

Skip to content

# 模块 `nonebot_plugin_marshoai._types` ​

### class `DeveloperMessage(ChatRequestMessage)` ​

`@overload`

#### func `__init__(self, *, content: Optional[str] = None)` ​

源代码 或 在GitHub上查看
python

    @overload
    def __init__(self, *, content: Optional[str]=None):
        ...

`@overload`

#### func `__init__(self, mapping: Mapping[str, Any])` ​

说明: :param mapping: raw JSON to initialize the model. :type mapping: Mapping[str, Any]

源代码 或 在GitHub上查看
python

    @overload
    def __init__(self, mapping: Mapping[str, Any]):

#### func `__init__(self, *args: Any, **kwargs: Any) -> None` ​

源代码 或 在GitHub上查看
python

    def __init__(self, *args: Any, **kwargs: Any) -> None:
        super().__init__(*args, role='developer', **kwargs)

#### attr `role: Literal['developer'] = rest_discriminator(name='role')` ​

#### attr `content: Optional[str] = rest_field()` ​