@juzi/wechaty-grpc 1.0.62 → 1.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/commonjs/generated/puppet.cjs +1 -0
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/cjs/examples/auth/raw-https/client.js.map +1 -1
- package/dist/cjs/examples/auth/server.js +5 -6
- package/dist/cjs/examples/auth/server.js.map +1 -1
- package/dist/cjs/examples/client.js +2 -1
- package/dist/cjs/examples/client.js.map +1 -1
- package/dist/cjs/out/wechaty/puppet/call_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.d.ts +61 -0
- package/dist/cjs/out/wechaty/puppet/call_pb.js +338 -0
- package/dist/cjs/out/wechaty/puppet/call_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/call_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/channel_pb.d.ts +12 -3
- package/dist/cjs/out/wechaty/puppet/channel_pb.js +19 -8
- package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +45 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +330 -1
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +42 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +331 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +218 -84
- package/dist/cjs/out/wechaty/puppet.swagger.json +186 -5
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +51 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +77 -1
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +57 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +120 -0
- package/dist/cjs/proto/wechaty/puppet/call.proto +28 -0
- package/dist/cjs/proto/wechaty/puppet/channel.proto +8 -1
- package/dist/cjs/proto/wechaty/puppet/message.proto +11 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +7 -0
- package/dist/cjs/proto/wechaty/puppet.proto +17 -1
- package/dist/cjs/src/package-json.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +7 -6
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/health-check.spec.js +2 -2
- package/dist/cjs/tests/health-check.spec.js.map +1 -1
- package/dist/cjs/tests/integration.spec.js.map +1 -1
- package/dist/cjs/tests/nullable.spec.js +4 -0
- package/dist/cjs/tests/nullable.spec.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +15 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs +1 -0
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/esm/examples/auth/raw-https/client.js.map +1 -1
- package/dist/esm/examples/auth/server.js +2 -3
- package/dist/esm/examples/auth/server.js.map +1 -1
- package/dist/esm/examples/client.js +2 -1
- package/dist/esm/examples/client.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/call_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/call_pb.d.ts +61 -0
- package/dist/esm/out/wechaty/puppet/call_pb.js +338 -0
- package/dist/esm/out/wechaty/puppet/call_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/call_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/channel_pb.d.ts +12 -3
- package/dist/esm/out/wechaty/puppet/channel_pb.js +19 -8
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +45 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +330 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +42 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +331 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +218 -84
- package/dist/esm/out/wechaty/puppet.swagger.json +186 -5
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +51 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +77 -1
- package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
- package/dist/esm/out/wechaty/puppet_pb.js +0 -2
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +57 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +120 -0
- package/dist/esm/proto/wechaty/puppet/call.proto +28 -0
- package/dist/esm/proto/wechaty/puppet/channel.proto +8 -1
- package/dist/esm/proto/wechaty/puppet/message.proto +11 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +7 -0
- package/dist/esm/proto/wechaty/puppet.proto +17 -1
- package/dist/esm/src/package-json.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +7 -6
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/health-check.spec.js +2 -2
- package/dist/esm/tests/health-check.spec.js.map +1 -1
- package/dist/esm/tests/integration.spec.js.map +1 -1
- package/dist/esm/tests/nullable.spec.js +4 -0
- package/dist/esm/tests/nullable.spec.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +15 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/call_grpc_pb.js +1 -0
- package/out/wechaty/puppet/call_pb.d.ts +61 -0
- package/out/wechaty/puppet/call_pb.js +338 -0
- package/out/wechaty/puppet/call_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/call_pb_service.js +3 -0
- package/out/wechaty/puppet/channel_pb.d.ts +12 -3
- package/out/wechaty/puppet/channel_pb.js +19 -8
- package/out/wechaty/puppet/message_pb.d.ts +45 -0
- package/out/wechaty/puppet/message_pb.js +330 -1
- package/out/wechaty/puppet/room_pb.d.ts +42 -0
- package/out/wechaty/puppet/room_pb.js +331 -0
- package/out/wechaty/puppet.openapi.yaml +218 -84
- package/out/wechaty/puppet.swagger.json +186 -5
- package/out/wechaty/puppet_grpc_pb.d.ts +51 -1
- package/out/wechaty/puppet_grpc_pb.js +77 -1
- package/out/wechaty/puppet_pb.d.ts +0 -1
- package/out/wechaty/puppet_pb.js +0 -2
- package/out/wechaty/puppet_pb_service.d.ts +57 -0
- package/out/wechaty/puppet_pb_service.js +120 -0
- package/package.json +7 -6
- package/src/package-json.ts +7 -6
|
@@ -9,14 +9,14 @@ info:
|
|
|
9
9
|
|
|
10
10
|
Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
|
|
11
11
|
top of the Wechaty Puppet Abstraction and the gRPC proto definition.
|
|
12
|
-
version: 1.0.
|
|
12
|
+
version: 1.0.64
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
|
-
url:
|
|
15
|
+
url: https://github.com/wechaty/openapi
|
|
16
16
|
email: wechaty@chatie.io
|
|
17
17
|
license:
|
|
18
18
|
name: Apache-2.0
|
|
19
|
-
url:
|
|
19
|
+
url: http://www.apache.org/licenses/LICENSE-2.0.html
|
|
20
20
|
tags:
|
|
21
21
|
- name: Puppet
|
|
22
22
|
consumes:
|
|
@@ -43,7 +43,7 @@ paths:
|
|
|
43
43
|
type: string
|
|
44
44
|
tags:
|
|
45
45
|
- Puppet
|
|
46
|
-
|
|
46
|
+
/contact/room/{roomId}/alias/{alias}:
|
|
47
47
|
put:
|
|
48
48
|
operationId: Puppet_ContactSelfRoomAlias
|
|
49
49
|
responses:
|
|
@@ -85,7 +85,7 @@ paths:
|
|
|
85
85
|
$ref: '#/definitions/rpcStatus'
|
|
86
86
|
tags:
|
|
87
87
|
- Puppet
|
|
88
|
-
|
|
88
|
+
/contacts/self/name/{name}:
|
|
89
89
|
put:
|
|
90
90
|
operationId: Puppet_ContactSelfName
|
|
91
91
|
responses:
|
|
@@ -140,7 +140,7 @@ paths:
|
|
|
140
140
|
$ref: '#/definitions/puppetContactSelfSignatureRequest'
|
|
141
141
|
tags:
|
|
142
142
|
- Puppet
|
|
143
|
-
|
|
143
|
+
/contacts/{contactId}/corporation-remark:
|
|
144
144
|
put:
|
|
145
145
|
operationId: Puppet_ContactCorporationRemark
|
|
146
146
|
responses:
|
|
@@ -165,12 +165,12 @@ paths:
|
|
|
165
165
|
properties:
|
|
166
166
|
corporationRemarkStringValueDeprecated:
|
|
167
167
|
type: string
|
|
168
|
-
title:
|
|
168
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
169
169
|
corporationRemark:
|
|
170
170
|
type: string
|
|
171
171
|
tags:
|
|
172
172
|
- Puppet
|
|
173
|
-
|
|
173
|
+
/contacts/{contactId}/delete:
|
|
174
174
|
put:
|
|
175
175
|
operationId: Puppet_ContactDelete
|
|
176
176
|
responses:
|
|
@@ -194,7 +194,7 @@ paths:
|
|
|
194
194
|
type: object
|
|
195
195
|
tags:
|
|
196
196
|
- Puppet
|
|
197
|
-
|
|
197
|
+
/contacts/{contactId}/description:
|
|
198
198
|
put:
|
|
199
199
|
operationId: Puppet_ContactDescription
|
|
200
200
|
responses:
|
|
@@ -219,12 +219,12 @@ paths:
|
|
|
219
219
|
properties:
|
|
220
220
|
descriptionStringValueDeprecated:
|
|
221
221
|
type: string
|
|
222
|
-
title:
|
|
222
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
223
223
|
description:
|
|
224
224
|
type: string
|
|
225
225
|
tags:
|
|
226
226
|
- Puppet
|
|
227
|
-
|
|
227
|
+
/contacts/{contactId}/phone:
|
|
228
228
|
put:
|
|
229
229
|
operationId: Puppet_ContactPhone
|
|
230
230
|
responses:
|
|
@@ -253,7 +253,7 @@ paths:
|
|
|
253
253
|
type: string
|
|
254
254
|
tags:
|
|
255
255
|
- Puppet
|
|
256
|
-
|
|
256
|
+
/contacts/{contactId}/tag/tags:
|
|
257
257
|
get:
|
|
258
258
|
operationId: Puppet_TagContactTagList
|
|
259
259
|
responses:
|
|
@@ -272,7 +272,7 @@ paths:
|
|
|
272
272
|
type: string
|
|
273
273
|
tags:
|
|
274
274
|
- Puppet
|
|
275
|
-
|
|
275
|
+
/contacts/{id}:
|
|
276
276
|
get:
|
|
277
277
|
summary: Get a contact payload
|
|
278
278
|
description: Contact
|
|
@@ -293,7 +293,7 @@ paths:
|
|
|
293
293
|
type: string
|
|
294
294
|
tags:
|
|
295
295
|
- contact
|
|
296
|
-
|
|
296
|
+
/contacts/{id}/alias:
|
|
297
297
|
put:
|
|
298
298
|
operationId: Puppet_ContactAlias
|
|
299
299
|
responses:
|
|
@@ -318,13 +318,13 @@ paths:
|
|
|
318
318
|
properties:
|
|
319
319
|
aliasStringValueDeprecated:
|
|
320
320
|
type: string
|
|
321
|
-
description:
|
|
321
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
322
322
|
title: nullable
|
|
323
323
|
alias:
|
|
324
324
|
type: string
|
|
325
325
|
tags:
|
|
326
326
|
- Puppet
|
|
327
|
-
|
|
327
|
+
/contacts/{id}/avatar:
|
|
328
328
|
get:
|
|
329
329
|
operationId: Puppet_ContactAvatar
|
|
330
330
|
responses:
|
|
@@ -342,7 +342,7 @@ paths:
|
|
|
342
342
|
required: true
|
|
343
343
|
type: string
|
|
344
344
|
- name: fileboxStringValueDeprecated
|
|
345
|
-
description:
|
|
345
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
346
346
|
in: query
|
|
347
347
|
required: false
|
|
348
348
|
type: string
|
|
@@ -352,7 +352,7 @@ paths:
|
|
|
352
352
|
type: string
|
|
353
353
|
tags:
|
|
354
354
|
- Puppet
|
|
355
|
-
|
|
355
|
+
/contacts/{id}/dirty/{type}:
|
|
356
356
|
put:
|
|
357
357
|
operationId: Puppet_DirtyPayload2
|
|
358
358
|
responses:
|
|
@@ -386,7 +386,7 @@ paths:
|
|
|
386
386
|
pattern: PAYLOADTYPECONTACT
|
|
387
387
|
tags:
|
|
388
388
|
- Puppet
|
|
389
|
-
|
|
389
|
+
/contacts/{id}/payload-modify:
|
|
390
390
|
put:
|
|
391
391
|
operationId: Puppet_ContactPayloadModify
|
|
392
392
|
responses:
|
|
@@ -481,7 +481,7 @@ paths:
|
|
|
481
481
|
type: boolean
|
|
482
482
|
tags:
|
|
483
483
|
- Puppet
|
|
484
|
-
|
|
484
|
+
/conversation/{conversationId}/read:
|
|
485
485
|
put:
|
|
486
486
|
summary: '*'
|
|
487
487
|
description: Conversation
|
|
@@ -510,7 +510,7 @@ paths:
|
|
|
510
510
|
type: boolean
|
|
511
511
|
tags:
|
|
512
512
|
- Puppet
|
|
513
|
-
|
|
513
|
+
/conversations/{conversationId}/channel:
|
|
514
514
|
post:
|
|
515
515
|
operationId: Puppet_MessageSendChannel
|
|
516
516
|
responses:
|
|
@@ -537,7 +537,7 @@ paths:
|
|
|
537
537
|
$ref: '#/definitions/puppetChannelPayload'
|
|
538
538
|
tags:
|
|
539
539
|
- Puppet
|
|
540
|
-
|
|
540
|
+
/conversations/{conversationId}/contact:
|
|
541
541
|
post:
|
|
542
542
|
operationId: Puppet_MessageSendContact
|
|
543
543
|
responses:
|
|
@@ -564,7 +564,7 @@ paths:
|
|
|
564
564
|
type: string
|
|
565
565
|
tags:
|
|
566
566
|
- Puppet
|
|
567
|
-
|
|
567
|
+
/conversations/{conversationId}/forward/{messageId}:
|
|
568
568
|
post:
|
|
569
569
|
operationId: Puppet_MessageForward2
|
|
570
570
|
responses:
|
|
@@ -589,7 +589,7 @@ paths:
|
|
|
589
589
|
type: string
|
|
590
590
|
tags:
|
|
591
591
|
- Puppet
|
|
592
|
-
|
|
592
|
+
/conversations/{conversationId}/location:
|
|
593
593
|
post:
|
|
594
594
|
operationId: Puppet_MessageSendLocation
|
|
595
595
|
responses:
|
|
@@ -616,7 +616,7 @@ paths:
|
|
|
616
616
|
$ref: '#/definitions/puppetLocationPayload'
|
|
617
617
|
tags:
|
|
618
618
|
- Puppet
|
|
619
|
-
|
|
619
|
+
/conversations/{conversationId}/mini-program:
|
|
620
620
|
post:
|
|
621
621
|
operationId: Puppet_MessageSendMiniProgram
|
|
622
622
|
responses:
|
|
@@ -656,7 +656,7 @@ paths:
|
|
|
656
656
|
title: 小程序payload
|
|
657
657
|
tags:
|
|
658
658
|
- Puppet
|
|
659
|
-
|
|
659
|
+
/conversations/{conversationId}/text:
|
|
660
660
|
post:
|
|
661
661
|
operationId: Puppet_MessageSendText
|
|
662
662
|
responses:
|
|
@@ -694,7 +694,7 @@ paths:
|
|
|
694
694
|
title: 发文本消息
|
|
695
695
|
tags:
|
|
696
696
|
- Puppet
|
|
697
|
-
|
|
697
|
+
/conversations/{conversationId}/url-link:
|
|
698
698
|
post:
|
|
699
699
|
operationId: Puppet_MessageSendUrl
|
|
700
700
|
responses:
|
|
@@ -768,7 +768,7 @@ paths:
|
|
|
768
768
|
$ref: '#/definitions/puppetDingRequest'
|
|
769
769
|
tags:
|
|
770
770
|
- Puppet
|
|
771
|
-
|
|
771
|
+
/download/{id}:
|
|
772
772
|
get:
|
|
773
773
|
summary: |-
|
|
774
774
|
*
|
|
@@ -853,7 +853,7 @@ paths:
|
|
|
853
853
|
type: string
|
|
854
854
|
tags:
|
|
855
855
|
- Puppet
|
|
856
|
-
|
|
856
|
+
/friendship/accept/{id}:
|
|
857
857
|
put:
|
|
858
858
|
operationId: Puppet_FriendshipAccept
|
|
859
859
|
responses:
|
|
@@ -872,7 +872,7 @@ paths:
|
|
|
872
872
|
type: string
|
|
873
873
|
tags:
|
|
874
874
|
- Puppet
|
|
875
|
-
|
|
875
|
+
/friendship/add/{contactId}:
|
|
876
876
|
put:
|
|
877
877
|
operationId: Puppet_FriendshipAdd
|
|
878
878
|
responses:
|
|
@@ -907,7 +907,7 @@ paths:
|
|
|
907
907
|
$ref: '#/definitions/puppetReferrer'
|
|
908
908
|
tags:
|
|
909
909
|
- Puppet
|
|
910
|
-
|
|
910
|
+
/friendship/search/handle/{weixin}:
|
|
911
911
|
get:
|
|
912
912
|
operationId: Puppet_FriendshipSearchHandle
|
|
913
913
|
responses:
|
|
@@ -939,7 +939,7 @@ paths:
|
|
|
939
939
|
type: string
|
|
940
940
|
tags:
|
|
941
941
|
- Puppet
|
|
942
|
-
|
|
942
|
+
/friendship/search/phone/{phone}:
|
|
943
943
|
get:
|
|
944
944
|
operationId: Puppet_FriendshipSearchPhone
|
|
945
945
|
responses:
|
|
@@ -958,7 +958,7 @@ paths:
|
|
|
958
958
|
type: string
|
|
959
959
|
tags:
|
|
960
960
|
- Puppet
|
|
961
|
-
|
|
961
|
+
/friendship/{id}:
|
|
962
962
|
get:
|
|
963
963
|
summary: '*'
|
|
964
964
|
description: Friendship
|
|
@@ -994,7 +994,7 @@ paths:
|
|
|
994
994
|
type: string
|
|
995
995
|
tags:
|
|
996
996
|
- Puppet
|
|
997
|
-
|
|
997
|
+
/friendships/{id}/dirty/{type}:
|
|
998
998
|
put:
|
|
999
999
|
operationId: Puppet_DirtyPayload5
|
|
1000
1000
|
responses:
|
|
@@ -1076,7 +1076,7 @@ paths:
|
|
|
1076
1076
|
$ref: '#/definitions/rpcStatus'
|
|
1077
1077
|
tags:
|
|
1078
1078
|
- Puppet
|
|
1079
|
-
|
|
1079
|
+
/message/broadcast/{id}:
|
|
1080
1080
|
get:
|
|
1081
1081
|
operationId: Puppet_GetMessageBroadcastStatus
|
|
1082
1082
|
responses:
|
|
@@ -1095,7 +1095,7 @@ paths:
|
|
|
1095
1095
|
type: string
|
|
1096
1096
|
tags:
|
|
1097
1097
|
- Puppet
|
|
1098
|
-
|
|
1098
|
+
/message/{id}:
|
|
1099
1099
|
get:
|
|
1100
1100
|
operationId: Puppet_MessagePayload
|
|
1101
1101
|
responses:
|
|
@@ -1114,7 +1114,26 @@ paths:
|
|
|
1114
1114
|
type: string
|
|
1115
1115
|
tags:
|
|
1116
1116
|
- Puppet
|
|
1117
|
-
|
|
1117
|
+
/message/{id}/call-record:
|
|
1118
|
+
get:
|
|
1119
|
+
operationId: Puppet_MessageCallRecord
|
|
1120
|
+
responses:
|
|
1121
|
+
'200':
|
|
1122
|
+
description: A successful response.
|
|
1123
|
+
schema:
|
|
1124
|
+
$ref: '#/definitions/puppetMessageCallRecordlResponse'
|
|
1125
|
+
default:
|
|
1126
|
+
description: An unexpected error response.
|
|
1127
|
+
schema:
|
|
1128
|
+
$ref: '#/definitions/rpcStatus'
|
|
1129
|
+
parameters:
|
|
1130
|
+
- name: id
|
|
1131
|
+
in: path
|
|
1132
|
+
required: true
|
|
1133
|
+
type: string
|
|
1134
|
+
tags:
|
|
1135
|
+
- Puppet
|
|
1136
|
+
/message/{id}/channel:
|
|
1118
1137
|
get:
|
|
1119
1138
|
operationId: Puppet_MessageChannel
|
|
1120
1139
|
responses:
|
|
@@ -1133,7 +1152,7 @@ paths:
|
|
|
1133
1152
|
type: string
|
|
1134
1153
|
tags:
|
|
1135
1154
|
- Puppet
|
|
1136
|
-
|
|
1155
|
+
/message/{id}/contact:
|
|
1137
1156
|
get:
|
|
1138
1157
|
operationId: Puppet_MessageContact
|
|
1139
1158
|
responses:
|
|
@@ -1152,7 +1171,7 @@ paths:
|
|
|
1152
1171
|
type: string
|
|
1153
1172
|
tags:
|
|
1154
1173
|
- Puppet
|
|
1155
|
-
|
|
1174
|
+
/message/{id}/dirty/{type}:
|
|
1156
1175
|
put:
|
|
1157
1176
|
operationId: Puppet_DirtyPayload
|
|
1158
1177
|
responses:
|
|
@@ -1186,7 +1205,7 @@ paths:
|
|
|
1186
1205
|
pattern: PAYLOADTYPEMESSAGE
|
|
1187
1206
|
tags:
|
|
1188
1207
|
- Puppet
|
|
1189
|
-
|
|
1208
|
+
/message/{id}/location:
|
|
1190
1209
|
get:
|
|
1191
1210
|
operationId: Puppet_MessageLocation
|
|
1192
1211
|
responses:
|
|
@@ -1205,7 +1224,7 @@ paths:
|
|
|
1205
1224
|
type: string
|
|
1206
1225
|
tags:
|
|
1207
1226
|
- Puppet
|
|
1208
|
-
|
|
1227
|
+
/message/{id}/mini-program:
|
|
1209
1228
|
get:
|
|
1210
1229
|
operationId: Puppet_MessageMiniProgram
|
|
1211
1230
|
responses:
|
|
@@ -1224,7 +1243,7 @@ paths:
|
|
|
1224
1243
|
type: string
|
|
1225
1244
|
tags:
|
|
1226
1245
|
- Puppet
|
|
1227
|
-
|
|
1246
|
+
/message/{id}/preview:
|
|
1228
1247
|
get:
|
|
1229
1248
|
operationId: Puppet_MessagePreview
|
|
1230
1249
|
responses:
|
|
@@ -1243,7 +1262,7 @@ paths:
|
|
|
1243
1262
|
type: string
|
|
1244
1263
|
tags:
|
|
1245
1264
|
- Puppet
|
|
1246
|
-
|
|
1265
|
+
/message/{id}/recall:
|
|
1247
1266
|
put:
|
|
1248
1267
|
operationId: Puppet_MessageRecall
|
|
1249
1268
|
responses:
|
|
@@ -1262,7 +1281,7 @@ paths:
|
|
|
1262
1281
|
type: string
|
|
1263
1282
|
tags:
|
|
1264
1283
|
- Puppet
|
|
1265
|
-
|
|
1284
|
+
/message/{id}/url-link:
|
|
1266
1285
|
get:
|
|
1267
1286
|
operationId: Puppet_MessageUrl
|
|
1268
1287
|
responses:
|
|
@@ -1281,7 +1300,7 @@ paths:
|
|
|
1281
1300
|
type: string
|
|
1282
1301
|
tags:
|
|
1283
1302
|
- Puppet
|
|
1284
|
-
|
|
1303
|
+
/messages/{messageId}/forward/{conversationId}:
|
|
1285
1304
|
post:
|
|
1286
1305
|
operationId: Puppet_MessageForward
|
|
1287
1306
|
responses:
|
|
@@ -1380,7 +1399,7 @@ paths:
|
|
|
1380
1399
|
$ref: '#/definitions/rpcStatus'
|
|
1381
1400
|
tags:
|
|
1382
1401
|
- Puppet
|
|
1383
|
-
|
|
1402
|
+
/moment/{momentId}:
|
|
1384
1403
|
delete:
|
|
1385
1404
|
operationId: Puppet_MomentUnpublish
|
|
1386
1405
|
responses:
|
|
@@ -1473,7 +1492,7 @@ paths:
|
|
|
1473
1492
|
$ref: '#/definitions/rpcStatus'
|
|
1474
1493
|
tags:
|
|
1475
1494
|
- Puppet
|
|
1476
|
-
|
|
1495
|
+
/room-invitations/{id}:
|
|
1477
1496
|
get:
|
|
1478
1497
|
summary: '*'
|
|
1479
1498
|
description: Room Invitation
|
|
@@ -1513,7 +1532,7 @@ paths:
|
|
|
1513
1532
|
type: string
|
|
1514
1533
|
tags:
|
|
1515
1534
|
- Puppet
|
|
1516
|
-
|
|
1535
|
+
/room-invitations/{id}/accept:
|
|
1517
1536
|
put:
|
|
1518
1537
|
operationId: Puppet_RoomInvitationAccept
|
|
1519
1538
|
responses:
|
|
@@ -1565,7 +1584,7 @@ paths:
|
|
|
1565
1584
|
$ref: '#/definitions/puppetRoomCreateRequest'
|
|
1566
1585
|
tags:
|
|
1567
1586
|
- Puppet
|
|
1568
|
-
|
|
1587
|
+
/rooms/{id}:
|
|
1569
1588
|
get:
|
|
1570
1589
|
summary: '*'
|
|
1571
1590
|
description: Room
|
|
@@ -1604,7 +1623,34 @@ paths:
|
|
|
1604
1623
|
type: string
|
|
1605
1624
|
tags:
|
|
1606
1625
|
- Puppet
|
|
1607
|
-
|
|
1626
|
+
/rooms/{id}/add/admins/{contactIds}:
|
|
1627
|
+
put:
|
|
1628
|
+
operationId: Puppet_RoomAddAdmins
|
|
1629
|
+
responses:
|
|
1630
|
+
'200':
|
|
1631
|
+
description: A successful response.
|
|
1632
|
+
schema:
|
|
1633
|
+
$ref: '#/definitions/puppetRoomAdminsResponse'
|
|
1634
|
+
default:
|
|
1635
|
+
description: An unexpected error response.
|
|
1636
|
+
schema:
|
|
1637
|
+
$ref: '#/definitions/rpcStatus'
|
|
1638
|
+
parameters:
|
|
1639
|
+
- name: id
|
|
1640
|
+
in: path
|
|
1641
|
+
required: true
|
|
1642
|
+
type: string
|
|
1643
|
+
- name: contactIds
|
|
1644
|
+
in: path
|
|
1645
|
+
required: true
|
|
1646
|
+
type: array
|
|
1647
|
+
items:
|
|
1648
|
+
type: string
|
|
1649
|
+
collectionFormat: csv
|
|
1650
|
+
minItems: 1
|
|
1651
|
+
tags:
|
|
1652
|
+
- Puppet
|
|
1653
|
+
/rooms/{id}/add/{contactId}:
|
|
1608
1654
|
put:
|
|
1609
1655
|
operationId: Puppet_RoomAdd
|
|
1610
1656
|
responses:
|
|
@@ -1633,7 +1679,7 @@ paths:
|
|
|
1633
1679
|
type: boolean
|
|
1634
1680
|
tags:
|
|
1635
1681
|
- Puppet
|
|
1636
|
-
|
|
1682
|
+
/rooms/{id}/announcement:
|
|
1637
1683
|
get:
|
|
1638
1684
|
operationId: Puppet_RoomAnnounce
|
|
1639
1685
|
responses:
|
|
@@ -1651,7 +1697,7 @@ paths:
|
|
|
1651
1697
|
required: true
|
|
1652
1698
|
type: string
|
|
1653
1699
|
- name: textStringValueDeprecated
|
|
1654
|
-
description:
|
|
1700
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
1655
1701
|
in: query
|
|
1656
1702
|
required: false
|
|
1657
1703
|
type: string
|
|
@@ -1685,13 +1731,13 @@ paths:
|
|
|
1685
1731
|
properties:
|
|
1686
1732
|
textStringValueDeprecated:
|
|
1687
1733
|
type: string
|
|
1688
|
-
title:
|
|
1734
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
1689
1735
|
text:
|
|
1690
1736
|
type: string
|
|
1691
1737
|
title: 群公告
|
|
1692
1738
|
tags:
|
|
1693
1739
|
- Puppet
|
|
1694
|
-
|
|
1740
|
+
/rooms/{id}/avatar:
|
|
1695
1741
|
get:
|
|
1696
1742
|
operationId: Puppet_RoomAvatar
|
|
1697
1743
|
responses:
|
|
@@ -1710,7 +1756,34 @@ paths:
|
|
|
1710
1756
|
type: string
|
|
1711
1757
|
tags:
|
|
1712
1758
|
- Puppet
|
|
1713
|
-
|
|
1759
|
+
/rooms/{id}/del/admins/{contactIds}:
|
|
1760
|
+
delete:
|
|
1761
|
+
operationId: Puppet_RoomDelAdmins
|
|
1762
|
+
responses:
|
|
1763
|
+
'200':
|
|
1764
|
+
description: A successful response.
|
|
1765
|
+
schema:
|
|
1766
|
+
$ref: '#/definitions/puppetRoomAdminsResponse'
|
|
1767
|
+
default:
|
|
1768
|
+
description: An unexpected error response.
|
|
1769
|
+
schema:
|
|
1770
|
+
$ref: '#/definitions/rpcStatus'
|
|
1771
|
+
parameters:
|
|
1772
|
+
- name: id
|
|
1773
|
+
in: path
|
|
1774
|
+
required: true
|
|
1775
|
+
type: string
|
|
1776
|
+
- name: contactIds
|
|
1777
|
+
in: path
|
|
1778
|
+
required: true
|
|
1779
|
+
type: array
|
|
1780
|
+
items:
|
|
1781
|
+
type: string
|
|
1782
|
+
collectionFormat: csv
|
|
1783
|
+
minItems: 1
|
|
1784
|
+
tags:
|
|
1785
|
+
- Puppet
|
|
1786
|
+
/rooms/{id}/dirty/members/{type}:
|
|
1714
1787
|
put:
|
|
1715
1788
|
operationId: Puppet_DirtyPayload4
|
|
1716
1789
|
responses:
|
|
@@ -1744,7 +1817,7 @@ paths:
|
|
|
1744
1817
|
pattern: PAYLOADTYPEROOMMEMBER
|
|
1745
1818
|
tags:
|
|
1746
1819
|
- Puppet
|
|
1747
|
-
|
|
1820
|
+
/rooms/{id}/dirty/{type}:
|
|
1748
1821
|
put:
|
|
1749
1822
|
operationId: Puppet_DirtyPayload3
|
|
1750
1823
|
responses:
|
|
@@ -1778,7 +1851,7 @@ paths:
|
|
|
1778
1851
|
pattern: PAYLOADTYPEROOM
|
|
1779
1852
|
tags:
|
|
1780
1853
|
- Puppet
|
|
1781
|
-
|
|
1854
|
+
/rooms/{id}/member/{contactId}:
|
|
1782
1855
|
delete:
|
|
1783
1856
|
operationId: Puppet_RoomDel
|
|
1784
1857
|
responses:
|
|
@@ -1796,7 +1869,7 @@ paths:
|
|
|
1796
1869
|
required: true
|
|
1797
1870
|
type: string
|
|
1798
1871
|
- name: contactId
|
|
1799
|
-
description:
|
|
1872
|
+
description: Deprecated, will be removed after bot updated
|
|
1800
1873
|
in: path
|
|
1801
1874
|
required: true
|
|
1802
1875
|
type: string
|
|
@@ -1809,7 +1882,7 @@ paths:
|
|
|
1809
1882
|
collectionFormat: multi
|
|
1810
1883
|
tags:
|
|
1811
1884
|
- Puppet
|
|
1812
|
-
|
|
1885
|
+
/rooms/{id}/members:
|
|
1813
1886
|
get:
|
|
1814
1887
|
operationId: Puppet_RoomMemberList
|
|
1815
1888
|
responses:
|
|
@@ -1828,7 +1901,7 @@ paths:
|
|
|
1828
1901
|
type: string
|
|
1829
1902
|
tags:
|
|
1830
1903
|
- Puppet
|
|
1831
|
-
|
|
1904
|
+
/rooms/{id}/members/{memberId}:
|
|
1832
1905
|
get:
|
|
1833
1906
|
summary: '*'
|
|
1834
1907
|
description: Room Member
|
|
@@ -1853,7 +1926,7 @@ paths:
|
|
|
1853
1926
|
type: string
|
|
1854
1927
|
tags:
|
|
1855
1928
|
- Puppet
|
|
1856
|
-
|
|
1929
|
+
/rooms/{id}/permission:
|
|
1857
1930
|
get:
|
|
1858
1931
|
operationId: Puppet_RoomPermission
|
|
1859
1932
|
responses:
|
|
@@ -1917,7 +1990,7 @@ paths:
|
|
|
1917
1990
|
default: BOOL_UNSET
|
|
1918
1991
|
tags:
|
|
1919
1992
|
- Puppet
|
|
1920
|
-
|
|
1993
|
+
/rooms/{id}/qrcode:
|
|
1921
1994
|
get:
|
|
1922
1995
|
operationId: Puppet_RoomQRCode
|
|
1923
1996
|
responses:
|
|
@@ -1936,7 +2009,7 @@ paths:
|
|
|
1936
2009
|
type: string
|
|
1937
2010
|
tags:
|
|
1938
2011
|
- Puppet
|
|
1939
|
-
|
|
2012
|
+
/rooms/{id}/remark:
|
|
1940
2013
|
put:
|
|
1941
2014
|
operationId: Puppet_RoomRemark
|
|
1942
2015
|
responses:
|
|
@@ -1959,7 +2032,7 @@ paths:
|
|
|
1959
2032
|
type: string
|
|
1960
2033
|
tags:
|
|
1961
2034
|
- Puppet
|
|
1962
|
-
|
|
2035
|
+
/rooms/{id}/topic:
|
|
1963
2036
|
get:
|
|
1964
2037
|
operationId: Puppet_RoomTopic
|
|
1965
2038
|
responses:
|
|
@@ -1977,7 +2050,7 @@ paths:
|
|
|
1977
2050
|
required: true
|
|
1978
2051
|
type: string
|
|
1979
2052
|
- name: topicStringValueDeprecated
|
|
1980
|
-
description:
|
|
2053
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
1981
2054
|
in: query
|
|
1982
2055
|
required: false
|
|
1983
2056
|
type: string
|
|
@@ -1987,7 +2060,7 @@ paths:
|
|
|
1987
2060
|
type: string
|
|
1988
2061
|
tags:
|
|
1989
2062
|
- Puppet
|
|
1990
|
-
|
|
2063
|
+
/rooms/{id}/transfer/{contactId}:
|
|
1991
2064
|
post:
|
|
1992
2065
|
operationId: Puppet_RoomOwnerTransfer
|
|
1993
2066
|
responses:
|
|
@@ -2100,7 +2173,7 @@ paths:
|
|
|
2100
2173
|
$ref: '#/definitions/puppetTagTagDeleteRequest'
|
|
2101
2174
|
tags:
|
|
2102
2175
|
- Puppet
|
|
2103
|
-
|
|
2176
|
+
/tag/groups/{tagGroupId}/tags:
|
|
2104
2177
|
get:
|
|
2105
2178
|
operationId: Puppet_TagGroupTagList
|
|
2106
2179
|
responses:
|
|
@@ -2173,7 +2246,7 @@ paths:
|
|
|
2173
2246
|
$ref: '#/definitions/puppetTagContactTagRemoveRequest'
|
|
2174
2247
|
tags:
|
|
2175
2248
|
- Puppet
|
|
2176
|
-
|
|
2249
|
+
/tag/{tagId}/contacts:
|
|
2177
2250
|
get:
|
|
2178
2251
|
operationId: Puppet_TagTagContactList
|
|
2179
2252
|
responses:
|
|
@@ -2428,8 +2501,59 @@ definitions:
|
|
|
2428
2501
|
- BROADCAST_TARGET_STATUS_NOT_FRIEND
|
|
2429
2502
|
- BROADCAST_TARGET_STATUS_OCCUPIED
|
|
2430
2503
|
default: BROADCAST_TARGET_STATUS_UNSENT
|
|
2504
|
+
puppetCallRecordPayload:
|
|
2505
|
+
type: object
|
|
2506
|
+
properties:
|
|
2507
|
+
starterId:
|
|
2508
|
+
type: string
|
|
2509
|
+
participantIds:
|
|
2510
|
+
type: array
|
|
2511
|
+
items:
|
|
2512
|
+
type: string
|
|
2513
|
+
length:
|
|
2514
|
+
type: integer
|
|
2515
|
+
format: int32
|
|
2516
|
+
type:
|
|
2517
|
+
$ref: '#/definitions/puppetCallType'
|
|
2518
|
+
status:
|
|
2519
|
+
$ref: '#/definitions/puppetCallStatus'
|
|
2520
|
+
puppetCallStatus:
|
|
2521
|
+
type: string
|
|
2522
|
+
enum:
|
|
2523
|
+
- CALL_STATUS_UNKNOWN
|
|
2524
|
+
- CALL_STATUS_CANCELED
|
|
2525
|
+
- CALL_STATUS_REJECTED
|
|
2526
|
+
- CALL_STATUS_ONGOING
|
|
2527
|
+
- CALL_STATUS_ENDED
|
|
2528
|
+
default: CALL_STATUS_UNKNOWN
|
|
2529
|
+
description: |-
|
|
2530
|
+
- CALL_STATUS_UNKNOWN: 不明确
|
|
2531
|
+
- CALL_STATUS_CANCELED: 自己取消
|
|
2532
|
+
- CALL_STATUS_REJECTED: 对方拒接
|
|
2533
|
+
- CALL_STATUS_ONGOING: 正在通话
|
|
2534
|
+
- CALL_STATUS_ENDED: 已结束
|
|
2535
|
+
title: 类型枚举
|
|
2536
|
+
puppetCallType:
|
|
2537
|
+
type: string
|
|
2538
|
+
enum:
|
|
2539
|
+
- CALL_TYPE_UNKNOWN
|
|
2540
|
+
- CALL_TYPE_VOICE
|
|
2541
|
+
- CALL_TYPE_VIDEO
|
|
2542
|
+
default: CALL_TYPE_UNKNOWN
|
|
2543
|
+
title: |-
|
|
2544
|
+
- CALL_TYPE_UNKNOWN: 不明确
|
|
2545
|
+
- CALL_TYPE_VOICE: 语音
|
|
2546
|
+
- CALL_TYPE_VIDEO: 视频
|
|
2431
2547
|
puppetCancelVerifyCodeResponse:
|
|
2432
2548
|
type: object
|
|
2549
|
+
puppetChannelFeedType:
|
|
2550
|
+
type: string
|
|
2551
|
+
enum:
|
|
2552
|
+
- CHANNEL_FEED_TYPE_UNKNOWN
|
|
2553
|
+
- CHANNEL_FEED_TYPE_PHOTO
|
|
2554
|
+
- CHANNEL_FEED_TYPE_VIDEO
|
|
2555
|
+
- CHANNEL_FEED_TYPE_LIVE
|
|
2556
|
+
default: CHANNEL_FEED_TYPE_UNKNOWN
|
|
2433
2557
|
puppetChannelPayload:
|
|
2434
2558
|
type: object
|
|
2435
2559
|
properties:
|
|
@@ -2446,8 +2570,7 @@ definitions:
|
|
|
2446
2570
|
type: string
|
|
2447
2571
|
title: 额外信息,暂不明确含义,但传错会导致无法发出(红色感叹号)。应根据收到的视频号的extras字段填入。
|
|
2448
2572
|
feedType:
|
|
2449
|
-
|
|
2450
|
-
format: int32
|
|
2573
|
+
$ref: '#/definitions/puppetChannelFeedType'
|
|
2451
2574
|
title: 暂不明确含义,目前请固定传4
|
|
2452
2575
|
nickname:
|
|
2453
2576
|
type: string
|
|
@@ -2468,7 +2591,7 @@ definitions:
|
|
|
2468
2591
|
properties:
|
|
2469
2592
|
aliasStringValueDeprecated:
|
|
2470
2593
|
type: string
|
|
2471
|
-
title:
|
|
2594
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
2472
2595
|
alias:
|
|
2473
2596
|
type: string
|
|
2474
2597
|
puppetContactAvatarResponse:
|
|
@@ -2476,7 +2599,7 @@ definitions:
|
|
|
2476
2599
|
properties:
|
|
2477
2600
|
fileboxStringValueDeprecated:
|
|
2478
2601
|
type: string
|
|
2479
|
-
title:
|
|
2602
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
2480
2603
|
fileBox:
|
|
2481
2604
|
type: string
|
|
2482
2605
|
puppetContactCorporationRemarkResponse:
|
|
@@ -2678,7 +2801,7 @@ definitions:
|
|
|
2678
2801
|
$ref: '#/definitions/puppetEventType'
|
|
2679
2802
|
payload:
|
|
2680
2803
|
type: string
|
|
2681
|
-
description:
|
|
2804
|
+
description: JSON.stringify({ ... })
|
|
2682
2805
|
title: 'TODO: Huan(202002) consider to use a PB Map?'
|
|
2683
2806
|
seq:
|
|
2684
2807
|
type: integer
|
|
@@ -2789,7 +2912,7 @@ definitions:
|
|
|
2789
2912
|
properties:
|
|
2790
2913
|
contactIdStringValueDeprecated:
|
|
2791
2914
|
type: string
|
|
2792
|
-
description:
|
|
2915
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
2793
2916
|
title: nullable
|
|
2794
2917
|
contactId:
|
|
2795
2918
|
type: string
|
|
@@ -2798,7 +2921,7 @@ definitions:
|
|
|
2798
2921
|
properties:
|
|
2799
2922
|
contactIdStringValueDeprecated:
|
|
2800
2923
|
type: string
|
|
2801
|
-
description:
|
|
2924
|
+
description: DEPRECATED, will be removed after Dec 31, 2022
|
|
2802
2925
|
title: nullable
|
|
2803
2926
|
contactId:
|
|
2804
2927
|
type: string
|
|
@@ -2872,6 +2995,11 @@ definitions:
|
|
|
2872
2995
|
title: 地址名,例如xx大厦
|
|
2873
2996
|
puppetLogoutResponse:
|
|
2874
2997
|
type: object
|
|
2998
|
+
puppetMessageCallRecordlResponse:
|
|
2999
|
+
type: object
|
|
3000
|
+
properties:
|
|
3001
|
+
channel:
|
|
3002
|
+
$ref: '#/definitions/puppetCallRecordPayload'
|
|
2875
3003
|
puppetMessageChannelResponse:
|
|
2876
3004
|
type: object
|
|
2877
3005
|
properties:
|
|
@@ -2897,7 +3025,7 @@ definitions:
|
|
|
2897
3025
|
properties:
|
|
2898
3026
|
idStringValueDeprecated:
|
|
2899
3027
|
type: string
|
|
2900
|
-
description:
|
|
3028
|
+
description: Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022
|
|
2901
3029
|
title: |-
|
|
2902
3030
|
*
|
|
2903
3031
|
@deprecated: use payload instead.
|
|
@@ -3001,7 +3129,7 @@ definitions:
|
|
|
3001
3129
|
properties:
|
|
3002
3130
|
idStringValueDeprecated:
|
|
3003
3131
|
type: string
|
|
3004
|
-
description:
|
|
3132
|
+
description: Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022
|
|
3005
3133
|
title: |-
|
|
3006
3134
|
*
|
|
3007
3135
|
@deprecated:
|
|
@@ -3023,7 +3151,7 @@ definitions:
|
|
|
3023
3151
|
properties:
|
|
3024
3152
|
idStringValueDeprecated:
|
|
3025
3153
|
type: string
|
|
3026
|
-
description:
|
|
3154
|
+
description: Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022
|
|
3027
3155
|
title: |-
|
|
3028
3156
|
*
|
|
3029
3157
|
@deprecated:
|
|
@@ -3049,7 +3177,7 @@ definitions:
|
|
|
3049
3177
|
properties:
|
|
3050
3178
|
idStringValueDeprecated:
|
|
3051
3179
|
type: string
|
|
3052
|
-
description:
|
|
3180
|
+
description: Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022
|
|
3053
3181
|
title: |-
|
|
3054
3182
|
*
|
|
3055
3183
|
@deprecated:
|
|
@@ -3062,7 +3190,7 @@ definitions:
|
|
|
3062
3190
|
properties:
|
|
3063
3191
|
idStringValueDeprecated:
|
|
3064
3192
|
type: string
|
|
3065
|
-
description:
|
|
3193
|
+
description: Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022
|
|
3066
3194
|
title: |-
|
|
3067
3195
|
*
|
|
3068
3196
|
@deprecated:
|
|
@@ -3075,7 +3203,7 @@ definitions:
|
|
|
3075
3203
|
properties:
|
|
3076
3204
|
idStringValueDeprecated:
|
|
3077
3205
|
type: string
|
|
3078
|
-
description:
|
|
3206
|
+
description: Deprecated after Sep 31, 2021, will be removed after Dec 31, 2022
|
|
3079
3207
|
title: |-
|
|
3080
3208
|
*
|
|
3081
3209
|
@deprecated:
|
|
@@ -3105,6 +3233,8 @@ definitions:
|
|
|
3105
3233
|
- MESSAGE_TYPE_POST
|
|
3106
3234
|
- MESSAGE_TYPE_CHANNEL
|
|
3107
3235
|
- MESSAGE_TYPE_SYSTEM
|
|
3236
|
+
- MESSAGE_TYPE_MARKDOWN
|
|
3237
|
+
- MESSAGE_TYPE_CALL_RECORD
|
|
3108
3238
|
default: MESSAGE_TYPE_UNSPECIFIED
|
|
3109
3239
|
description: |-
|
|
3110
3240
|
- MESSAGE_TYPE_ATTACHMENT: 文件消息
|
|
@@ -3125,6 +3255,8 @@ definitions:
|
|
|
3125
3255
|
- MESSAGE_TYPE_POST: 特殊的复合类型,wxwork中没有
|
|
3126
3256
|
- MESSAGE_TYPE_CHANNEL: 视频号
|
|
3127
3257
|
- MESSAGE_TYPE_SYSTEM: 系统消息
|
|
3258
|
+
- MESSAGE_TYPE_MARKDOWN: MarkDown
|
|
3259
|
+
- MESSAGE_TYPE_CALL_RECORD: 通话记录
|
|
3128
3260
|
title: 消息类型
|
|
3129
3261
|
puppetMessageUrlResponse:
|
|
3130
3262
|
type: object
|
|
@@ -3234,7 +3366,7 @@ definitions:
|
|
|
3234
3366
|
properties:
|
|
3235
3367
|
parentId:
|
|
3236
3368
|
type: string
|
|
3237
|
-
title:
|
|
3369
|
+
title: 转发的上一级id,评论时如果是回复,则是回复的评论的id,否则是朋友圈的id
|
|
3238
3370
|
rootId:
|
|
3239
3371
|
type: string
|
|
3240
3372
|
title: 转发的根id,评论时应该是朋友圈的id
|
|
@@ -3380,12 +3512,14 @@ definitions:
|
|
|
3380
3512
|
type: object
|
|
3381
3513
|
puppetRoomAddResponse:
|
|
3382
3514
|
type: object
|
|
3515
|
+
puppetRoomAdminsResponse:
|
|
3516
|
+
type: object
|
|
3383
3517
|
puppetRoomAnnounceResponse:
|
|
3384
3518
|
type: object
|
|
3385
3519
|
properties:
|
|
3386
3520
|
textStringValueDeprecated:
|
|
3387
3521
|
type: string
|
|
3388
|
-
title:
|
|
3522
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
3389
3523
|
text:
|
|
3390
3524
|
type: string
|
|
3391
3525
|
puppetRoomAvatarResponse:
|
|
@@ -3562,7 +3696,7 @@ definitions:
|
|
|
3562
3696
|
properties:
|
|
3563
3697
|
topicStringValueDeprecated:
|
|
3564
3698
|
type: string
|
|
3565
|
-
title:
|
|
3699
|
+
title: DEPRECATED, will be removed after Dec 31, 2022
|
|
3566
3700
|
topic:
|
|
3567
3701
|
type: string
|
|
3568
3702
|
puppetSayableType:
|