(self)
| 6279 | return SendAttachmentsToMessageParams(attachments, instance_id) |
| 6280 | |
| 6281 | def to_dict(self) -> dict: |
| 6282 | result: dict = {} |
| 6283 | result["attachments"] = from_list(lambda x: (x).to_dict(), self.attachments) |
| 6284 | if self.instance_id is not None: |
| 6285 | result["instanceId"] = from_union([from_str, from_none], self.instance_id) |
| 6286 | return result |
| 6287 | |
| 6288 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 6289 | class SendMode(Enum): |
nothing calls this directly
no test coverage detected