@alicloud/cams20200606 3.1.0 → 3.1.1

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.
@@ -2,16 +2,10 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SendChatappMessageShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The channel type. Valid values:
6
- *
7
- * * **whatsapp**
8
- * * **viber**
9
- * * **line** (under development)
10
- *
11
5
  * This parameter is required.
12
6
  *
13
7
  * @example
14
- * whatsapp
8
+ * 示例值示例值
15
9
  */
16
10
  channelType?: string;
17
11
  /**
@@ -47,147 +41,66 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
47
41
  */
48
42
  content?: string;
49
43
  /**
50
- * @remarks
51
- * The ID of the reply message.
52
- *
53
44
  * @example
54
- * 61851ccb2f1365b16aee****
45
+ * 示例值
55
46
  */
56
47
  contextMessageId?: string;
57
48
  /**
58
- * @remarks
59
- * The space ID of the user.
60
- *
61
49
  * @example
62
- * 28251486512358****
50
+ * 示例值示例值示例值
63
51
  */
64
52
  custSpaceId?: string;
65
53
  /**
66
- * @remarks
67
- * The WhatsApp Business Account (WABA) ID of the RAM user within the independent software vendor (ISV) account.
68
- *
69
- * > CustWabaId is an obsolete parameter. Use CustSpaceId instead.
70
- *
71
54
  * @example
72
- * 65921621816****
73
- *
74
- * @deprecated
55
+ * 示例值示例值
75
56
  */
76
57
  custWabaId?: string;
77
58
  /**
78
- * @remarks
79
- * The content of the fallback message.
80
- *
81
59
  * @example
82
- * This is a fallback message.
60
+ * 示例值
83
61
  */
84
62
  fallBackContent?: string;
85
- /**
86
- * @remarks
87
- * Specifies the period of time after which the fallback message is sent if the message receipt that indicates the message is delivered to clients is not received. If this parameter is left empty, the fallback message is sent only when the **message fails to be sent** or **the message receipt that indicates the message is not delivered to clients** is received. Unit: seconds. Valid values: 60 to 43200.
88
- *
89
- * @example
90
- * 120
91
- */
92
63
  fallBackDuration?: number;
93
64
  /**
94
- * @remarks
95
- * The ID of the fallback policy. You can create a fallback policy and view the information in the Chat App Message Service console.
96
- *
97
65
  * @example
98
- * S_000001
66
+ * 示例值示例值示例值
99
67
  */
100
68
  fallBackId?: string;
101
69
  /**
102
- * @remarks
103
- * The fallback rule. Valid values:
104
- *
105
- * * **undelivered**: A fallback is triggered if the message is not delivered to clients. When the message is being sent, the template parameters are verified. If the parameters fail to pass the verification, the message fails to be sent. Whether the template and phone number are prohibited is not verified. By default, this value is used when FallBackRule is left empty.
106
- * * **sentFailed**: A fallback is triggered even if the template parameters including variables fail to pass the verification. If the channelType, type, messageType, to, and from parameters fail to pass the verification, a fallback is not triggered.
107
- *
108
70
  * @example
109
- * undelivered
71
+ * 示例值示例值
110
72
  */
111
73
  fallBackRule?: string;
112
- /**
113
- * @remarks
114
- * The Flow action.
115
- */
116
74
  flowActionShrink?: string;
117
75
  /**
118
76
  * @remarks
119
- * The mobile phone number of the message sender.
120
- *
121
- * > You can specify a mobile phone number that is registered for a WhatsApp account and is approved in the Chat App Message Service console.
122
- *
123
77
  * This parameter is required.
124
78
  *
125
79
  * @example
126
- * 1360000****
80
+ * 示例值示例值
127
81
  */
128
82
  from?: string;
129
83
  /**
130
- * @remarks
131
- * The ISV verification code. This parameter is used to verify whether the RAM user is authorized by the ISV account.
132
- *
133
84
  * @example
134
- * skdi3kksloslikdkkdk
85
+ * 示例值
135
86
  */
136
87
  isvCode?: string;
137
88
  /**
138
- * @remarks
139
- * The type of the Viber message. This parameter is required if ChannelType is set to viber. Valid values:
140
- *
141
- * * **promotion**
142
- * * **transaction**
143
- *
144
89
  * @example
145
- * promotion
90
+ * 示例值
146
91
  */
147
92
  label?: string;
148
93
  /**
149
- * @remarks
150
- * The language that is used in the message template. This parameter is required only if you set the Type parameter to **template**. For more information about language codes, see [Language codes](https://help.aliyun.com/document_detail/463420.html).
151
- *
152
94
  * @example
153
- * en
95
+ * 示例值示例值示例值
154
96
  */
155
97
  language?: string;
156
98
  /**
157
- * @remarks
158
- * The specific type of the message. This parameter is required only if you set the Type parameter to **message**.
159
- *
160
- * **Valid values of MessageType when you set the ChannelType parameter to whatsapp:**
161
- *
162
- * * **text**: a text message.
163
- * * **image**: an image message.
164
- * * **video**: a video message.
165
- * * **audio**: an audio message.
166
- * * **document**: a document message.
167
- * * **interactive**: an interactive message.
168
- * * **contacts**: a contact message.
169
- * * **location**: a location message.
170
- * * **sticker**: a sticker message.
171
- * * **reaction**: a reaction message.
172
- *
173
- * **Valid values of MessageType when you set the ChannelType parameter to viber:**
174
- *
175
- * * **text**: a text message.
176
- * * **image**: an image message.
177
- * * **video**: a video message.
178
- * * **document**: a document message.
179
- * * **text_button**: a message that contains the text and button media objects.
180
- * * **text_image_button**: a message that contains multiple media objects, including the text, image, and button.
181
- * * **text_video**: a message that contains the text and video media objects.
182
- * * **text_video_button**: a message that contains multiple media objects, including text, video, and button.
183
- * * **text_image**: a message that contains the text and image media objects.
184
- *
185
- * > For more information, see [Parameters of a message template](https://help.aliyun.com/document_detail/454530.html).
186
- *
187
99
  * @example
188
- * text
100
+ * 示例值
189
101
  */
190
102
  messageType?: string;
103
+ ownerId?: number;
191
104
  /**
192
105
  * @remarks
193
106
  * The payload of the button.
@@ -196,86 +109,55 @@ export declare class SendChatappMessageShrinkRequest extends $dara.Model {
196
109
  * payloadtext1,payloadtext2,payloadtext3
197
110
  */
198
111
  payloadShrink?: string;
112
+ productActionShrink?: string;
199
113
  /**
200
- * @remarks
201
- * The information about the products included in the WhatsApp catalog message or multi-product message (MPM).
114
+ * @example
115
+ * individual
202
116
  */
203
- productActionShrink?: string;
204
117
  recipientType?: string;
118
+ resourceOwnerAccount?: string;
119
+ resourceOwnerId?: number;
205
120
  /**
206
- * @remarks
207
- * The tag information of the Viber message.
208
- *
209
121
  * @example
210
- * tag
122
+ * 示例值示例值
211
123
  */
212
124
  tag?: string;
213
125
  /**
214
- * @remarks
215
- * The task ID.
216
- *
217
126
  * @example
218
- * 100000001
127
+ * 示例值示例值
219
128
  */
220
129
  taskId?: string;
221
130
  /**
222
- * @remarks
223
- * The code of the message template. This parameter is required only if you set the Type parameter to **template**.
224
- *
225
131
  * @example
226
- * 744c4b5c79c9432497a075bdfca3****
132
+ * 示例值示例值示例值
227
133
  */
228
134
  templateCode?: string;
229
135
  /**
230
- * @remarks
231
- * The name of the message template.
232
- *
233
136
  * @example
234
- * test_name
137
+ * 示例值示例值示例值
235
138
  */
236
139
  templateName?: string;
237
- /**
238
- * @remarks
239
- * The variables of the message template.
240
- */
241
140
  templateParamsShrink?: string;
242
141
  /**
243
142
  * @remarks
244
- * The mobile phone number of the message receiver.
245
- *
246
143
  * This parameter is required.
247
144
  *
248
145
  * @example
249
- * 1390000****
146
+ * 示例值示例值示例值
250
147
  */
251
148
  to?: string;
252
149
  /**
253
- * @remarks
254
- * The tracking data of the Viber message.
255
- *
256
150
  * @example
257
- * tracking_id:123456
151
+ * 示例值示例值
258
152
  */
259
153
  trackingData?: string;
260
- /**
261
- * @remarks
262
- * The timeout period for sending the Viber message. Valid values: 30 to 1209600. Unit: seconds.
263
- *
264
- * @example
265
- * 50
266
- */
267
154
  ttl?: number;
268
155
  /**
269
156
  * @remarks
270
- * The message type. Valid values:
271
- *
272
- * * **template**: the template message. A template message is sent based on a template that is created and approved in the Chat App Message Service console. You can send template messages based on your business requirements.
273
- * * **message**: the custom message. You can send a custom WhatsApp message to a user only within 24 hours after you receive the last message from the user. This limit does not apply to custom Viber messages.
274
- *
275
157
  * This parameter is required.
276
158
  *
277
159
  * @example
278
- * template
160
+ * 示例值
279
161
  */
280
162
  type?: string;
281
163
  static names(): {
@@ -54,9 +54,12 @@ class SendChatappMessageShrinkRequest extends $dara.Model {
54
54
  label: 'Label',
55
55
  language: 'Language',
56
56
  messageType: 'MessageType',
57
+ ownerId: 'OwnerId',
57
58
  payloadShrink: 'Payload',
58
59
  productActionShrink: 'ProductAction',
59
60
  recipientType: 'RecipientType',
61
+ resourceOwnerAccount: 'ResourceOwnerAccount',
62
+ resourceOwnerId: 'ResourceOwnerId',
60
63
  tag: 'Tag',
61
64
  taskId: 'TaskId',
62
65
  templateCode: 'TemplateCode',
@@ -85,9 +88,12 @@ class SendChatappMessageShrinkRequest extends $dara.Model {
85
88
  label: 'string',
86
89
  language: 'string',
87
90
  messageType: 'string',
91
+ ownerId: 'number',
88
92
  payloadShrink: 'string',
89
93
  productActionShrink: 'string',
90
94
  recipientType: 'string',
95
+ resourceOwnerAccount: 'string',
96
+ resourceOwnerId: 'number',
91
97
  tag: 'string',
92
98
  taskId: 'string',
93
99
  templateCode: 'string',
@@ -1 +1 @@
1
- {"version":3,"file":"SendChatappMessageShrinkRequest.js","sourceRoot":"","sources":["../../src/models/SendChatappMessageShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAuR9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,OAAO,EAAE,SAAS;YAClB,gBAAgB,EAAE,kBAAkB;YACpC,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,eAAe,EAAE,iBAAiB;YAClC,gBAAgB,EAAE,kBAAkB;YACpC,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,gBAAgB,EAAE,YAAY;YAC9B,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,aAAa,EAAE,SAAS;YACxB,mBAAmB,EAAE,eAAe;YACpC,aAAa,EAAE,eAAe;YAC9B,GAAG,EAAE,KAAK;YACV,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;YAC5B,YAAY,EAAE,cAAc;YAC5B,oBAAoB,EAAE,gBAAgB;YACtC,EAAE,EAAE,IA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AO,EAAE,QAAQ;YACjB,aAAa,EAAE,QAAQ;YACvB,mBAAmB,EAAE,QAAQ;YAC7B,aAAa,EAAE,QAAQ;YACvB,oBAAoB,EAAE,QAAQ;YAC9B,eAAe,EAAE,QAAQ;YACzB,GAAG,EAAE,QAAQ;YACb,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,QAAQ;YACtB,YAAY,EAAE,QAAQ;YACtB,oBAAoB,EAAE,QAAQ;YAC9B,EAAE,EAAE,QAAQ;YACZ,YAAY,EAAE,QAAQ;YACtB,GAAG,EAAE,QAAQ;YACb,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9OD,0EA8OC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cams20200606",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5708,77 +5708,89 @@ export default class Client extends OpenApi {
5708
5708
  request.senderListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.senderList, "SenderList", "json");
5709
5709
  }
5710
5710
 
5711
- let body : {[key: string ]: any} = { };
5711
+ let query = { };
5712
5712
  if (!$dara.isNull(request.channelType)) {
5713
- body["ChannelType"] = request.channelType;
5713
+ query["ChannelType"] = request.channelType;
5714
5714
  }
5715
5715
 
5716
5716
  if (!$dara.isNull(request.custSpaceId)) {
5717
- body["CustSpaceId"] = request.custSpaceId;
5717
+ query["CustSpaceId"] = request.custSpaceId;
5718
5718
  }
5719
5719
 
5720
5720
  if (!$dara.isNull(request.custWabaId)) {
5721
- body["CustWabaId"] = request.custWabaId;
5721
+ query["CustWabaId"] = request.custWabaId;
5722
5722
  }
5723
5723
 
5724
5724
  if (!$dara.isNull(request.fallBackContent)) {
5725
- body["FallBackContent"] = request.fallBackContent;
5725
+ query["FallBackContent"] = request.fallBackContent;
5726
5726
  }
5727
5727
 
5728
5728
  if (!$dara.isNull(request.fallBackDuration)) {
5729
- body["FallBackDuration"] = request.fallBackDuration;
5729
+ query["FallBackDuration"] = request.fallBackDuration;
5730
5730
  }
5731
5731
 
5732
5732
  if (!$dara.isNull(request.fallBackId)) {
5733
- body["FallBackId"] = request.fallBackId;
5733
+ query["FallBackId"] = request.fallBackId;
5734
5734
  }
5735
5735
 
5736
5736
  if (!$dara.isNull(request.fallBackRule)) {
5737
- body["FallBackRule"] = request.fallBackRule;
5737
+ query["FallBackRule"] = request.fallBackRule;
5738
5738
  }
5739
5739
 
5740
5740
  if (!$dara.isNull(request.from)) {
5741
- body["From"] = request.from;
5741
+ query["From"] = request.from;
5742
5742
  }
5743
5743
 
5744
5744
  if (!$dara.isNull(request.isvCode)) {
5745
- body["IsvCode"] = request.isvCode;
5745
+ query["IsvCode"] = request.isvCode;
5746
5746
  }
5747
5747
 
5748
5748
  if (!$dara.isNull(request.label)) {
5749
- body["Label"] = request.label;
5749
+ query["Label"] = request.label;
5750
5750
  }
5751
5751
 
5752
5752
  if (!$dara.isNull(request.language)) {
5753
- body["Language"] = request.language;
5753
+ query["Language"] = request.language;
5754
+ }
5755
+
5756
+ if (!$dara.isNull(request.ownerId)) {
5757
+ query["OwnerId"] = request.ownerId;
5758
+ }
5759
+
5760
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
5761
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
5762
+ }
5763
+
5764
+ if (!$dara.isNull(request.resourceOwnerId)) {
5765
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5754
5766
  }
5755
5767
 
5756
5768
  if (!$dara.isNull(request.senderListShrink)) {
5757
- body["SenderList"] = request.senderListShrink;
5769
+ query["SenderList"] = request.senderListShrink;
5758
5770
  }
5759
5771
 
5760
5772
  if (!$dara.isNull(request.tag)) {
5761
- body["Tag"] = request.tag;
5773
+ query["Tag"] = request.tag;
5762
5774
  }
5763
5775
 
5764
5776
  if (!$dara.isNull(request.taskId)) {
5765
- body["TaskId"] = request.taskId;
5777
+ query["TaskId"] = request.taskId;
5766
5778
  }
5767
5779
 
5768
5780
  if (!$dara.isNull(request.templateCode)) {
5769
- body["TemplateCode"] = request.templateCode;
5781
+ query["TemplateCode"] = request.templateCode;
5770
5782
  }
5771
5783
 
5772
5784
  if (!$dara.isNull(request.templateName)) {
5773
- body["TemplateName"] = request.templateName;
5785
+ query["TemplateName"] = request.templateName;
5774
5786
  }
5775
5787
 
5776
5788
  if (!$dara.isNull(request.ttl)) {
5777
- body["Ttl"] = request.ttl;
5789
+ query["Ttl"] = request.ttl;
5778
5790
  }
5779
5791
 
5780
5792
  let req = new $OpenApiUtil.OpenApiRequest({
5781
- body: OpenApiUtil.parseToMap(body),
5793
+ query: OpenApiUtil.query(query),
5782
5794
  });
5783
5795
  let params = new $OpenApiUtil.Params({
5784
5796
  action: "SendChatappMassMessage",
@@ -5840,118 +5852,128 @@ export default class Client extends OpenApi {
5840
5852
  }
5841
5853
 
5842
5854
  let query = { };
5843
- if (!$dara.isNull(request.content)) {
5844
- query["Content"] = request.content;
5845
- }
5846
-
5847
- if (!$dara.isNull(request.payloadShrink)) {
5848
- query["Payload"] = request.payloadShrink;
5855
+ if (!$dara.isNull(request.channelType)) {
5856
+ query["ChannelType"] = request.channelType;
5849
5857
  }
5850
5858
 
5851
- let body : {[key: string ]: any} = { };
5852
- if (!$dara.isNull(request.channelType)) {
5853
- body["ChannelType"] = request.channelType;
5859
+ if (!$dara.isNull(request.content)) {
5860
+ query["Content"] = request.content;
5854
5861
  }
5855
5862
 
5856
5863
  if (!$dara.isNull(request.contextMessageId)) {
5857
- body["ContextMessageId"] = request.contextMessageId;
5864
+ query["ContextMessageId"] = request.contextMessageId;
5858
5865
  }
5859
5866
 
5860
5867
  if (!$dara.isNull(request.custSpaceId)) {
5861
- body["CustSpaceId"] = request.custSpaceId;
5868
+ query["CustSpaceId"] = request.custSpaceId;
5862
5869
  }
5863
5870
 
5864
5871
  if (!$dara.isNull(request.custWabaId)) {
5865
- body["CustWabaId"] = request.custWabaId;
5872
+ query["CustWabaId"] = request.custWabaId;
5866
5873
  }
5867
5874
 
5868
5875
  if (!$dara.isNull(request.fallBackContent)) {
5869
- body["FallBackContent"] = request.fallBackContent;
5876
+ query["FallBackContent"] = request.fallBackContent;
5870
5877
  }
5871
5878
 
5872
5879
  if (!$dara.isNull(request.fallBackDuration)) {
5873
- body["FallBackDuration"] = request.fallBackDuration;
5880
+ query["FallBackDuration"] = request.fallBackDuration;
5874
5881
  }
5875
5882
 
5876
5883
  if (!$dara.isNull(request.fallBackId)) {
5877
- body["FallBackId"] = request.fallBackId;
5884
+ query["FallBackId"] = request.fallBackId;
5878
5885
  }
5879
5886
 
5880
5887
  if (!$dara.isNull(request.fallBackRule)) {
5881
- body["FallBackRule"] = request.fallBackRule;
5888
+ query["FallBackRule"] = request.fallBackRule;
5882
5889
  }
5883
5890
 
5884
5891
  if (!$dara.isNull(request.flowActionShrink)) {
5885
- body["FlowAction"] = request.flowActionShrink;
5892
+ query["FlowAction"] = request.flowActionShrink;
5886
5893
  }
5887
5894
 
5888
5895
  if (!$dara.isNull(request.from)) {
5889
- body["From"] = request.from;
5896
+ query["From"] = request.from;
5890
5897
  }
5891
5898
 
5892
5899
  if (!$dara.isNull(request.isvCode)) {
5893
- body["IsvCode"] = request.isvCode;
5900
+ query["IsvCode"] = request.isvCode;
5894
5901
  }
5895
5902
 
5896
5903
  if (!$dara.isNull(request.label)) {
5897
- body["Label"] = request.label;
5904
+ query["Label"] = request.label;
5898
5905
  }
5899
5906
 
5900
5907
  if (!$dara.isNull(request.language)) {
5901
- body["Language"] = request.language;
5908
+ query["Language"] = request.language;
5902
5909
  }
5903
5910
 
5904
5911
  if (!$dara.isNull(request.messageType)) {
5905
- body["MessageType"] = request.messageType;
5912
+ query["MessageType"] = request.messageType;
5913
+ }
5914
+
5915
+ if (!$dara.isNull(request.ownerId)) {
5916
+ query["OwnerId"] = request.ownerId;
5917
+ }
5918
+
5919
+ if (!$dara.isNull(request.payloadShrink)) {
5920
+ query["Payload"] = request.payloadShrink;
5906
5921
  }
5907
5922
 
5908
5923
  if (!$dara.isNull(request.productActionShrink)) {
5909
- body["ProductAction"] = request.productActionShrink;
5924
+ query["ProductAction"] = request.productActionShrink;
5910
5925
  }
5911
5926
 
5912
5927
  if (!$dara.isNull(request.recipientType)) {
5913
- body["RecipientType"] = request.recipientType;
5928
+ query["RecipientType"] = request.recipientType;
5929
+ }
5930
+
5931
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
5932
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
5933
+ }
5934
+
5935
+ if (!$dara.isNull(request.resourceOwnerId)) {
5936
+ query["ResourceOwnerId"] = request.resourceOwnerId;
5914
5937
  }
5915
5938
 
5916
5939
  if (!$dara.isNull(request.tag)) {
5917
- body["Tag"] = request.tag;
5940
+ query["Tag"] = request.tag;
5918
5941
  }
5919
5942
 
5920
5943
  if (!$dara.isNull(request.taskId)) {
5921
- body["TaskId"] = request.taskId;
5944
+ query["TaskId"] = request.taskId;
5922
5945
  }
5923
5946
 
5924
5947
  if (!$dara.isNull(request.templateCode)) {
5925
- body["TemplateCode"] = request.templateCode;
5948
+ query["TemplateCode"] = request.templateCode;
5926
5949
  }
5927
5950
 
5928
5951
  if (!$dara.isNull(request.templateName)) {
5929
- body["TemplateName"] = request.templateName;
5952
+ query["TemplateName"] = request.templateName;
5930
5953
  }
5931
5954
 
5932
5955
  if (!$dara.isNull(request.templateParamsShrink)) {
5933
- body["TemplateParams"] = request.templateParamsShrink;
5956
+ query["TemplateParams"] = request.templateParamsShrink;
5934
5957
  }
5935
5958
 
5936
5959
  if (!$dara.isNull(request.to)) {
5937
- body["To"] = request.to;
5960
+ query["To"] = request.to;
5938
5961
  }
5939
5962
 
5940
5963
  if (!$dara.isNull(request.trackingData)) {
5941
- body["TrackingData"] = request.trackingData;
5964
+ query["TrackingData"] = request.trackingData;
5942
5965
  }
5943
5966
 
5944
5967
  if (!$dara.isNull(request.ttl)) {
5945
- body["Ttl"] = request.ttl;
5968
+ query["Ttl"] = request.ttl;
5946
5969
  }
5947
5970
 
5948
5971
  if (!$dara.isNull(request.type)) {
5949
- body["Type"] = request.type;
5972
+ query["Type"] = request.type;
5950
5973
  }
5951
5974
 
5952
5975
  let req = new $OpenApiUtil.OpenApiRequest({
5953
5976
  query: OpenApiUtil.query(query),
5954
- body: OpenApiUtil.parseToMap(body),
5955
5977
  });
5956
5978
  let params = new $OpenApiUtil.Params({
5957
5979
  action: "SendChatappMessage",