diff --git a/chat-apis.json b/chat-apis.json index a0905001..759c8cdc 100644 --- a/chat-apis.json +++ b/chat-apis.json @@ -2457,6 +2457,14 @@ "schema": { "type": "integer" } + }, + { + "name": "hideQuotedMessages", + "in": "query", + "description": "If set to true, the API response will exclude all quotedMessage nodes from the returned messages. This allows clients to fetch only the messages without any quoted messages.", + "schema": { + "type": "boolean" + } } ], "responses": { @@ -8001,6 +8009,14 @@ "type": "string" } } + }, + { + "name": "hideQuotedMessages", + "in": "query", + "description": "If set to true, the API response will exclude all quotedMessage nodes from the returned messages. This allows clients to fetch only the messages without any quoted messages.", + "schema": { + "type": "boolean" + } } ], "responses": { @@ -8471,6 +8487,14 @@ "type": "string" } } + }, + { + "name": "hideQuotedMessages", + "in": "query", + "description": "If set to true, the API response will exclude all quotedMessage nodes from the returned messages. This allows clients to fetch only the referenced messages without any quoted messages.", + "schema": { + "type": "boolean" + } } ], "responses": { @@ -9138,21 +9162,13 @@ "notifyForUnreadOnly": true, "intervalInSeconds": 7200, "maxPerDay": 20, - "maxPerDayPerConversation": 2, - "includeMessageObjectSetting": false, - "includeSenderMetadataSetting": true, - "includeReceiverMetadataSetting": true, - "includeMessageMetadataSetting": true + "maxPerDayPerConversation": 2 }, "sms": { "notifyForUnreadOnly": true, "intervalInSeconds": 7200, "maxPerDay": 20, - "maxPerDayPerConversation": 2, - "includeMessageObjectSetting": false, - "includeSenderMetadataSetting": true, - "includeReceiverMetadataSetting": true, - "includeMessageMetadataSetting": true + "maxPerDayPerConversation": 2 }, "push": { "includeMessageObjectSetting": false, @@ -16097,6 +16113,14 @@ "custom" ] }, + "quotedMessageId": { + "description": "ID of the message being quoted.\nIf provided, the send message response will include a `quotedMessage` node\nin the response containing the referenced message object.", + "type": "string", + "default": "message", + "enum": [ + "message" + ] + }, "type": { "description": "Type of the message.", "type": "string" @@ -16194,22 +16218,6 @@ }, "maxPerDayPerConversation": { "type": "integer" - }, - "includeMessageObjectSetting": { - "description": "Includes the message object in the email payload", - "type": "boolean" - }, - "includeSenderMetadataSetting": { - "description": "Includes sender metadata in the message object", - "type": "boolean" - }, - "includeReceiverMetadataSetting": { - "description": "Includes receiver metadata in the message object", - "type": "boolean" - }, - "includeMessageMetadataSetting": { - "description": "Includes message metadata in the message object", - "type": "boolean" } }, "type": "object" @@ -17116,6 +17124,14 @@ "message" ] }, + "quotedMessageId": { + "description": "ID of the message being quoted.\nIf provided, the send message response will include a `quotedMessage` node\nin the response containing the referenced message object.", + "type": "string", + "default": "message", + "enum": [ + "message" + ] + }, "type": { "description": "Type of the message. The available values are text, image, file, audio, video.", "type": "string", @@ -18028,22 +18044,6 @@ }, "maxPerDayPerConversation": { "type": "integer" - }, - "includeMessageObjectSetting": { - "description": "Includes the message object in the SMS payload", - "type": "boolean" - }, - "includeSenderMetadataSetting": { - "description": "Includes sender metadata in the message object", - "type": "boolean" - }, - "includeReceiverMetadataSetting": { - "description": "Includes receiver metadata in the message object", - "type": "boolean" - }, - "includeMessageMetadataSetting": { - "description": "Includes message metadata in the message object", - "type": "boolean" } }, "type": "object" diff --git a/data-import-apis.json b/data-import-apis.json index 0287fd86..00617fcf 100644 --- a/data-import-apis.json +++ b/data-import-apis.json @@ -2795,6 +2795,14 @@ "custom" ] }, + "quotedMessageId": { + "description": "ID of the message being quoted.\nIf provided, the send message response will include a `quotedMessage` node\nin the response containing the referenced message object.", + "type": "string", + "default": "message", + "enum": [ + "message" + ] + }, "type": { "description": "Type of the message.", "type": "string" @@ -3798,6 +3806,14 @@ "message" ] }, + "quotedMessageId": { + "description": "ID of the message being quoted.\nIf provided, the send message response will include a `quotedMessage` node\nin the response containing the referenced message object.", + "type": "string", + "default": "message", + "enum": [ + "message" + ] + }, "type": { "description": "Type of the message. The available values are text, image, file, audio, video.", "type": "string",