(self, mobile: str, template_id: str, template_conf_id: str,
template_name: str, user_words: str = "", arrange_id: str = "", **kwargs)
| 276 | return self.request_encrypted("/vapi/vue_stat/sendMessage", params) |
| 277 | |
| 278 | def template_make(self, mobile: str, template_id: str, template_conf_id: str, |
| 279 | template_name: str, user_words: str = "", arrange_id: str = "", **kwargs) -> dict: |
| 280 | params = { |
| 281 | "channelId": CHANNEL_ID, |
| 282 | "portal": "45", |
| 283 | "mobile": mobile, |
| 284 | "openId": "", |
| 285 | "makeId": "", |
| 286 | "background": "", |
| 287 | "userPhotos": "", |
| 288 | "userWords": user_words, |
| 289 | "templateName": template_name, |
| 290 | "videoName": template_name, |
| 291 | "templateId": template_id, |
| 292 | "templateConfId": template_conf_id, |
| 293 | "aid": ACTIVITY_ID, |
| 294 | "aiPack": 0, |
| 295 | "arrangeId": arrange_id, |
| 296 | "autoOrderUgc": 0, |
| 297 | "aiGatewayImagMakeId": "", |
| 298 | "fromType": "", |
| 299 | "sessionId": "" |
| 300 | } |
| 301 | params.update(kwargs) |
| 302 | return self.request_encrypted("/hapi/diy_video/au/template_make_add_v2", params) |
| 303 | |
| 304 | def get_score(self, mobile: str, score_type: int = 1) -> dict: |
| 305 | params = { |
no test coverage detected