公众号验证码功能完成 yeah!!!

This commit is contained in:
2025-11-21 15:33:03 +08:00
parent ad35173301
commit 6330f6faa1
614 changed files with 31574 additions and 4571 deletions

View File

@@ -15,23 +15,23 @@ class Conversations extends resource_1.APIResource {
/**
* Create a conversation.
*/
create(body, options) {
create(body = {}, options) {
return this._client.post('/conversations', { body, ...options });
}
/**
* Get a conversation with the given ID.
* Get a conversation
*/
retrieve(conversationID, options) {
return this._client.get((0, path_1.path) `/conversations/${conversationID}`, options);
}
/**
* Update a conversation's metadata with the given ID.
* Update a conversation
*/
update(conversationID, body, options) {
return this._client.post((0, path_1.path) `/conversations/${conversationID}`, { body, ...options });
}
/**
* Delete a conversation with the given ID.
* Delete a conversation. Items in the conversation will not be deleted.
*/
delete(conversationID, options) {
return this._client.delete((0, path_1.path) `/conversations/${conversationID}`, options);