|
1355 | 1355 | "description": "Time from which the chat history is shared with the participant. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.",
|
1356 | 1356 | "type": "string",
|
1357 | 1357 | "example": "2020-10-30T10:50:50Z"
|
| 1358 | + }, |
| 1359 | + "metadata": { |
| 1360 | + "description": "Contextual metadata for the chat participant. The metadata consists of name/value pairs. The total size of all metadata pairs can be up to 1KB in size.", |
| 1361 | + "type": "object", |
| 1362 | + "additionalProperties": { |
| 1363 | + "type": "string" |
| 1364 | + } |
1358 | 1365 | }
|
1359 | 1366 | }
|
1360 | 1367 | },
|
|
1619 | 1626 | "$ref": "#/definitions/ChatParticipant"
|
1620 | 1627 | }
|
1621 | 1628 | },
|
1622 |
| - "retentionPolicy": { |
1623 |
| - "$ref": "#/definitions/ChatRetentionPolicy" |
| 1629 | + "metadata": { |
| 1630 | + "description": "Contextual metadata for the thread. The metadata consists of name/value pairs. The total size of all metadata pairs can be up to 1KB in size.", |
| 1631 | + "type": "object", |
| 1632 | + "additionalProperties": { |
| 1633 | + "type": "string" |
| 1634 | + } |
1624 | 1635 | }
|
1625 | 1636 | }
|
1626 | 1637 | },
|
|
1659 | 1670 | "type": "string",
|
1660 | 1671 | "example": "2020-10-30T10:50:50Z"
|
1661 | 1672 | },
|
1662 |
| - "retentionPolicy": { |
1663 |
| - "$ref": "#/definitions/ChatRetentionPolicy" |
| 1673 | + "metadata": { |
| 1674 | + "description": "Contextual metadata for the thread. The metadata consists of name/value pairs. The total size of all metadata pairs can be up to 1KB in size.", |
| 1675 | + "type": "object", |
| 1676 | + "additionalProperties": { |
| 1677 | + "type": "string" |
| 1678 | + } |
1664 | 1679 | }
|
1665 | 1680 | }
|
1666 | 1681 | },
|
|
1743 | 1758 | "description": "Chat thread topic.",
|
1744 | 1759 | "type": "string",
|
1745 | 1760 | "example": "Lunch Thread"
|
| 1761 | + }, |
| 1762 | + "metadata": { |
| 1763 | + "description": "Contextual metadata for the thread. The metadata consists of name/value pairs. The total size of all metadata pairs can be up to 1KB in size.", |
| 1764 | + "type": "object", |
| 1765 | + "additionalProperties": { |
| 1766 | + "type": "string" |
| 1767 | + } |
1746 | 1768 | }
|
1747 | 1769 | }
|
1748 | 1770 | },
|
|
1756 | 1778 | "example": "Bob Admin"
|
1757 | 1779 | }
|
1758 | 1780 | }
|
1759 |
| - }, |
1760 |
| - "ChatRetentionPolicy": { |
1761 |
| - "description": "Data retention policy for auto deletion. It's not updatable after creation.", |
1762 |
| - "type": "object", |
1763 |
| - "discriminator": "kind", |
1764 |
| - "properties": { |
1765 |
| - "kind": { |
1766 |
| - "description": "Retention Policy Type", |
1767 |
| - "enum": [ |
1768 |
| - "threadCreationDate" |
1769 |
| - ], |
1770 |
| - "type": "string", |
1771 |
| - "x-ms-enum": { |
1772 |
| - "name": "RetentionPolicyKind", |
1773 |
| - "modelAsString": true, |
1774 |
| - "values": [ |
1775 |
| - { |
1776 |
| - "value": "threadCreationDate", |
1777 |
| - "description": "Thread retention policy based on thread creation date." |
1778 |
| - } |
1779 |
| - ] |
1780 |
| - } |
1781 |
| - } |
1782 |
| - }, |
1783 |
| - "required": [ |
1784 |
| - "kind" |
1785 |
| - ] |
1786 |
| - }, |
1787 |
| - "ThreadCreationDateRetentionPolicy": { |
1788 |
| - "description": "Thread retention policy based on thread creation date.", |
1789 |
| - "type": "object", |
1790 |
| - "x-ms-discriminator-value": "threadCreationDate", |
1791 |
| - "allOf": [ |
1792 |
| - { |
1793 |
| - "$ref": "#/definitions/ChatRetentionPolicy" |
1794 |
| - } |
1795 |
| - ], |
1796 |
| - "properties": { |
1797 |
| - "deleteThreadAfterDays": { |
1798 |
| - "type": "integer", |
1799 |
| - "format": "int32", |
1800 |
| - "description": "Indicates how many days after the thread creation the thread will be deleted. Only 90 is accepted for now." |
1801 |
| - } |
1802 |
| - }, |
1803 |
| - "required": [ |
1804 |
| - "deleteThreadAfterDays" |
1805 |
| - ] |
1806 | 1781 | }
|
1807 | 1782 | },
|
1808 | 1783 | "parameters": {
|
|
0 commit comments