tencentcloud-sdk-python-sms 3.1.79__py2.py3-none-any.whl → 3.1.85__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/sms/v20190711/models.py +8 -8
- tencentcloud/sms/v20210111/errorcodes.py +6 -0
- tencentcloud/sms/v20210111/models.py +368 -122
- tencentcloud/sms/v20210111/sms_client.py +23 -0
- tencentcloud/sms/v20210111/sms_client_async.py +18 -0
- {tencentcloud_sdk_python_sms-3.1.79.dist-info → tencentcloud_sdk_python_sms-3.1.85.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_sms-3.1.85.dist-info/RECORD +16 -0
- tencentcloud_sdk_python_sms-3.1.79.dist-info/RECORD +0 -16
- {tencentcloud_sdk_python_sms-3.1.79.dist-info → tencentcloud_sdk_python_sms-3.1.85.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_sms-3.1.79.dist-info → tencentcloud_sdk_python_sms-3.1.85.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -78,9 +78,9 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
78
78
|
r"""
|
|
79
79
|
:param _SignName: <p>签名名称。<br>注:不能重复申请已通过或待审核的签名。</p>
|
|
80
80
|
:type SignName: str
|
|
81
|
-
:param _SignType: <p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
81
|
+
:param _SignType: <p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
82
82
|
:type SignType: int
|
|
83
|
-
:param _DocumentType: <p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br
|
|
83
|
+
:param _DocumentType: <p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
84
84
|
:type DocumentType: int
|
|
85
85
|
:param _International: <p>是否国际/港澳台短信:<br>0:表示国内短信。<br>1:表示国际/港澳台短信。</p>
|
|
86
86
|
:type International: int
|
|
@@ -118,7 +118,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
118
118
|
|
|
119
119
|
@property
|
|
120
120
|
def SignType(self):
|
|
121
|
-
r"""<p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
121
|
+
r"""<p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
122
122
|
:rtype: int
|
|
123
123
|
"""
|
|
124
124
|
return self._SignType
|
|
@@ -129,7 +129,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
129
129
|
|
|
130
130
|
@property
|
|
131
131
|
def DocumentType(self):
|
|
132
|
-
r"""<p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br
|
|
132
|
+
r"""<p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
133
133
|
:rtype: int
|
|
134
134
|
"""
|
|
135
135
|
return self._DocumentType
|
|
@@ -1573,9 +1573,9 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1573
1573
|
:type SignId: int
|
|
1574
1574
|
:param _SignName: <p>签名名称。</p>
|
|
1575
1575
|
:type SignName: str
|
|
1576
|
-
:param _SignType: <p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1576
|
+
:param _SignType: <p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1577
1577
|
:type SignType: int
|
|
1578
|
-
:param _DocumentType: <p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br
|
|
1578
|
+
:param _DocumentType: <p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1579
1579
|
:type DocumentType: int
|
|
1580
1580
|
:param _International: <p>是否国际/港澳台短信:<br>0:表示国内短信。<br>1:表示国际/港澳台短信。<br>注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。</p>
|
|
1581
1581
|
:type International: int
|
|
@@ -1625,7 +1625,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1625
1625
|
|
|
1626
1626
|
@property
|
|
1627
1627
|
def SignType(self):
|
|
1628
|
-
r"""<p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1628
|
+
r"""<p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1629
1629
|
:rtype: int
|
|
1630
1630
|
"""
|
|
1631
1631
|
return self._SignType
|
|
@@ -1636,7 +1636,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1636
1636
|
|
|
1637
1637
|
@property
|
|
1638
1638
|
def DocumentType(self):
|
|
1639
|
-
r"""<p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br
|
|
1639
|
+
r"""<p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1640
1640
|
:rtype: int
|
|
1641
1641
|
"""
|
|
1642
1642
|
return self._DocumentType
|
|
@@ -179,6 +179,9 @@ INVALIDPARAMETERVALUE_LIMITVERIFYFAIL = 'InvalidParameterValue.LimitVerifyFail'
|
|
|
179
179
|
# 营销短信必须包含退订方式,请在短信模板尾部添加“拒收请回复R”后提交。可参考 [关于营销短信退订标识修改的公告](https://cloud.tencent.com/document/product/382/100568)。
|
|
180
180
|
INVALIDPARAMETERVALUE_MARKETINGTEMPLATEWITHOUTUNSUBSCRIBE = 'InvalidParameterValue.MarketingTemplateWithoutUnsubscribe'
|
|
181
181
|
|
|
182
|
+
# 传入的 MultiSmsInfoSet 列表为空,请确认您的参数中是否传入 MultiSmsInfoSet。
|
|
183
|
+
INVALIDPARAMETERVALUE_MULTISMSINFOSETEMPTY = 'InvalidParameterValue.MultiSmsInfoSetEmpty'
|
|
184
|
+
|
|
182
185
|
# 参数 Offset 校验失败。
|
|
183
186
|
INVALIDPARAMETERVALUE_OFFSETVERIFYFAIL = 'InvalidParameterValue.OffsetVerifyFail'
|
|
184
187
|
|
|
@@ -281,6 +284,9 @@ UNSUPPORTEDOPERATION_CHINESEMAINLANDTEMPLATETOGLOBALPHONE = 'UnsupportedOperatio
|
|
|
281
284
|
# 群发请求里既有国内手机号也有国际手机号。请排查是否存在(1)使用国内签名或模板却发送短信到国际手机号;(2)使用国际签名或模板却发送短信到国内手机号。
|
|
282
285
|
UNSUPPORTEDOPERATION_CONTAINDOMESTICANDINTERNATIONALPHONENUMBER = 'UnsupportedOperation.ContainDomesticAndInternationalPhoneNumber'
|
|
283
286
|
|
|
287
|
+
# 包含中国大陆号码,该接口仅支持国际/港澳台号码。
|
|
288
|
+
UNSUPPORTEDOPERATION_CONTAINDOMESTICPHONENUMBER = 'UnsupportedOperation.ContainDomesticPhoneNumber'
|
|
289
|
+
|
|
284
290
|
# 国际/港澳台短信模板不支持发送国内手机号。发送国内手机号请使用国内短信正文模板。
|
|
285
291
|
UNSUPPORTEDOPERATION_GLOBALTEMPLATETOCHINESEMAINLANDPHONE = 'UnsupportedOperation.GlobalTemplateToChineseMainlandPhone'
|
|
286
292
|
|
|
@@ -61,43 +61,23 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
61
61
|
|
|
62
62
|
def __init__(self):
|
|
63
63
|
r"""
|
|
64
|
-
:param _SignName:
|
|
65
|
-
注:不能重复申请已通过或待审核的签名。
|
|
64
|
+
:param _SignName: <p>签名名称。<br>注:不能重复申请已通过或待审核的签名。</p>
|
|
66
65
|
:type SignName: str
|
|
67
|
-
:param _SignType:
|
|
68
|
-
0:公司,可选 DocumentType 有(0,1)。
|
|
69
|
-
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
70
|
-
4:商标,可选 DocumentType 有(7)。
|
|
71
|
-
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
72
|
-
注1:必须按照对应关系选择证明类型,否则会审核失败。
|
|
73
|
-
注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
66
|
+
:param _SignType: <p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
74
67
|
:type SignType: int
|
|
75
|
-
:param _DocumentType:
|
|
76
|
-
0:三证合一。
|
|
77
|
-
1:企业营业执照。
|
|
78
|
-
2:组织机构代码证书。
|
|
79
|
-
3:社会信用代码证书。
|
|
80
|
-
4:应用后台管理截图(个人开发APP)。
|
|
81
|
-
7:商标注册书。
|
|
82
|
-
注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
68
|
+
:param _DocumentType: <p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
83
69
|
:type DocumentType: int
|
|
84
|
-
:param _International:
|
|
85
|
-
0:表示国内短信。
|
|
86
|
-
1:表示国际/港澳台短信。
|
|
70
|
+
:param _International: <p>是否国际/港澳台短信:<br>0:表示国内短信。<br>1:表示国际/港澳台短信。</p>
|
|
87
71
|
:type International: int
|
|
88
|
-
:param _SignPurpose:
|
|
89
|
-
0:自用。
|
|
90
|
-
1:他用。
|
|
72
|
+
:param _SignPurpose: <p>签名用途:<br>0:自用。<br>1:他用。</p>
|
|
91
73
|
:type SignPurpose: int
|
|
92
|
-
:param _ProofImage:
|
|
74
|
+
:param _ProofImage: <p>签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。</p>
|
|
93
75
|
:type ProofImage: str
|
|
94
|
-
:param _CommissionImage:
|
|
95
|
-
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
|
96
|
-
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
|
76
|
+
:param _CommissionImage: <p>委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。<br>图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。<br>注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。</p>
|
|
97
77
|
:type CommissionImage: str
|
|
98
|
-
:param _Remark:
|
|
78
|
+
:param _Remark: <p>签名的申请备注。</p>
|
|
99
79
|
:type Remark: str
|
|
100
|
-
:param _QualificationId:
|
|
80
|
+
:param _QualificationId: <p>已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 <a href="https://console.cloud.tencent.com/smsv2/enterprise">实名资质管理</a> 页查看。<blockquote class="rno-document-tips rno-document-tips-notice"> <div class="rno-document-tips-body"> <i class="rno-document-tip-icon"></i> <div class="rno-document-tip-title">说明</div> <div class="rno-document-tip-desc"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></div> </div></blockquote></p>
|
|
101
81
|
:type QualificationId: int
|
|
102
82
|
"""
|
|
103
83
|
self._SignName = None
|
|
@@ -112,8 +92,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
112
92
|
|
|
113
93
|
@property
|
|
114
94
|
def SignName(self):
|
|
115
|
-
r"""
|
|
116
|
-
注:不能重复申请已通过或待审核的签名。
|
|
95
|
+
r"""<p>签名名称。<br>注:不能重复申请已通过或待审核的签名。</p>
|
|
117
96
|
:rtype: str
|
|
118
97
|
"""
|
|
119
98
|
return self._SignName
|
|
@@ -124,13 +103,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
124
103
|
|
|
125
104
|
@property
|
|
126
105
|
def SignType(self):
|
|
127
|
-
r"""
|
|
128
|
-
0:公司,可选 DocumentType 有(0,1)。
|
|
129
|
-
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
130
|
-
4:商标,可选 DocumentType 有(7)。
|
|
131
|
-
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
132
|
-
注1:必须按照对应关系选择证明类型,否则会审核失败。
|
|
133
|
-
注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
106
|
+
r"""<p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
134
107
|
:rtype: int
|
|
135
108
|
"""
|
|
136
109
|
return self._SignType
|
|
@@ -141,14 +114,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
141
114
|
|
|
142
115
|
@property
|
|
143
116
|
def DocumentType(self):
|
|
144
|
-
r"""
|
|
145
|
-
0:三证合一。
|
|
146
|
-
1:企业营业执照。
|
|
147
|
-
2:组织机构代码证书。
|
|
148
|
-
3:社会信用代码证书。
|
|
149
|
-
4:应用后台管理截图(个人开发APP)。
|
|
150
|
-
7:商标注册书。
|
|
151
|
-
注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
117
|
+
r"""<p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
152
118
|
:rtype: int
|
|
153
119
|
"""
|
|
154
120
|
return self._DocumentType
|
|
@@ -159,9 +125,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
159
125
|
|
|
160
126
|
@property
|
|
161
127
|
def International(self):
|
|
162
|
-
r"""
|
|
163
|
-
0:表示国内短信。
|
|
164
|
-
1:表示国际/港澳台短信。
|
|
128
|
+
r"""<p>是否国际/港澳台短信:<br>0:表示国内短信。<br>1:表示国际/港澳台短信。</p>
|
|
165
129
|
:rtype: int
|
|
166
130
|
"""
|
|
167
131
|
return self._International
|
|
@@ -172,9 +136,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
172
136
|
|
|
173
137
|
@property
|
|
174
138
|
def SignPurpose(self):
|
|
175
|
-
r"""
|
|
176
|
-
0:自用。
|
|
177
|
-
1:他用。
|
|
139
|
+
r"""<p>签名用途:<br>0:自用。<br>1:他用。</p>
|
|
178
140
|
:rtype: int
|
|
179
141
|
"""
|
|
180
142
|
return self._SignPurpose
|
|
@@ -185,7 +147,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
185
147
|
|
|
186
148
|
@property
|
|
187
149
|
def ProofImage(self):
|
|
188
|
-
r"""
|
|
150
|
+
r"""<p>签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。</p>
|
|
189
151
|
:rtype: str
|
|
190
152
|
"""
|
|
191
153
|
return self._ProofImage
|
|
@@ -196,9 +158,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
196
158
|
|
|
197
159
|
@property
|
|
198
160
|
def CommissionImage(self):
|
|
199
|
-
r"""
|
|
200
|
-
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
|
201
|
-
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
|
161
|
+
r"""<p>委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。<br>图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。<br>注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。</p>
|
|
202
162
|
:rtype: str
|
|
203
163
|
"""
|
|
204
164
|
return self._CommissionImage
|
|
@@ -209,7 +169,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
209
169
|
|
|
210
170
|
@property
|
|
211
171
|
def Remark(self):
|
|
212
|
-
r"""
|
|
172
|
+
r"""<p>签名的申请备注。</p>
|
|
213
173
|
:rtype: str
|
|
214
174
|
"""
|
|
215
175
|
return self._Remark
|
|
@@ -220,7 +180,7 @@ class AddSmsSignRequest(AbstractModel):
|
|
|
220
180
|
|
|
221
181
|
@property
|
|
222
182
|
def QualificationId(self):
|
|
223
|
-
r"""
|
|
183
|
+
r"""<p>已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 <a href="https://console.cloud.tencent.com/smsv2/enterprise">实名资质管理</a> 页查看。<blockquote class="rno-document-tips rno-document-tips-notice"> <div class="rno-document-tips-body"> <i class="rno-document-tip-icon"></i> <div class="rno-document-tip-title">说明</div> <div class="rno-document-tip-desc"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></div> </div></blockquote></p>
|
|
224
184
|
:rtype: int
|
|
225
185
|
"""
|
|
226
186
|
return self._QualificationId
|
|
@@ -257,7 +217,7 @@ class AddSmsSignResponse(AbstractModel):
|
|
|
257
217
|
|
|
258
218
|
def __init__(self):
|
|
259
219
|
r"""
|
|
260
|
-
:param _AddSignStatus:
|
|
220
|
+
:param _AddSignStatus: <p>添加签名响应</p>
|
|
261
221
|
:type AddSignStatus: :class:`tencentcloud.sms.v20210111.models.AddSignStatus`
|
|
262
222
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
263
223
|
:type RequestId: str
|
|
@@ -267,7 +227,7 @@ class AddSmsSignResponse(AbstractModel):
|
|
|
267
227
|
|
|
268
228
|
@property
|
|
269
229
|
def AddSignStatus(self):
|
|
270
|
-
r"""
|
|
230
|
+
r"""<p>添加签名响应</p>
|
|
271
231
|
:rtype: :class:`tencentcloud.sms.v20210111.models.AddSignStatus`
|
|
272
232
|
"""
|
|
273
233
|
return self._AddSignStatus
|
|
@@ -1710,45 +1670,25 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1710
1670
|
|
|
1711
1671
|
def __init__(self):
|
|
1712
1672
|
r"""
|
|
1713
|
-
:param _SignId:
|
|
1673
|
+
:param _SignId: <p>待修改的签名 ID。</p>
|
|
1714
1674
|
:type SignId: int
|
|
1715
|
-
:param _SignName:
|
|
1675
|
+
:param _SignName: <p>签名名称。</p>
|
|
1716
1676
|
:type SignName: str
|
|
1717
|
-
:param _SignType:
|
|
1718
|
-
0:公司,可选 DocumentType 有(0,1)。
|
|
1719
|
-
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
1720
|
-
4:商标,可选 DocumentType 有(7)。
|
|
1721
|
-
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
1722
|
-
注1:必须按照对应关系选择证明类型,否则会审核失败。
|
|
1723
|
-
注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
1677
|
+
:param _SignType: <p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1724
1678
|
:type SignType: int
|
|
1725
|
-
:param _DocumentType:
|
|
1726
|
-
0:三证合一。
|
|
1727
|
-
1:企业营业执照。
|
|
1728
|
-
2:组织机构代码证书。
|
|
1729
|
-
3:社会信用代码证书。
|
|
1730
|
-
4:应用后台管理截图(个人开发APP)。
|
|
1731
|
-
7:商标注册书。
|
|
1732
|
-
注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
1679
|
+
:param _DocumentType: <p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1733
1680
|
:type DocumentType: int
|
|
1734
|
-
:param _International:
|
|
1735
|
-
0:表示国内短信。
|
|
1736
|
-
1:表示国际/港澳台短信。
|
|
1737
|
-
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
|
1681
|
+
:param _International: <p>是否国际/港澳台短信:<br>0:表示国内短信。<br>1:表示国际/港澳台短信。<br>注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。</p>
|
|
1738
1682
|
:type International: int
|
|
1739
|
-
:param _SignPurpose:
|
|
1740
|
-
0:自用。
|
|
1741
|
-
1:他用。
|
|
1683
|
+
:param _SignPurpose: <p>签名用途:<br>0:自用。<br>1:他用。</p>
|
|
1742
1684
|
:type SignPurpose: int
|
|
1743
|
-
:param _ProofImage:
|
|
1685
|
+
:param _ProofImage: <p>签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。</p>
|
|
1744
1686
|
:type ProofImage: str
|
|
1745
|
-
:param _CommissionImage:
|
|
1746
|
-
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
|
1747
|
-
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
|
1687
|
+
:param _CommissionImage: <p>委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。<br>图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。<br>注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。</p>
|
|
1748
1688
|
:type CommissionImage: str
|
|
1749
|
-
:param _Remark:
|
|
1689
|
+
:param _Remark: <p>签名的申请备注。</p>
|
|
1750
1690
|
:type Remark: str
|
|
1751
|
-
:param _QualificationId:
|
|
1691
|
+
:param _QualificationId: <p>已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 <a href="https://console.cloud.tencent.com/smsv2/enterprise">实名资质管理</a> 页查看。<blockquote class="rno-document-tips rno-document-tips-notice"> <div class="rno-document-tips-body"> <i class="rno-document-tip-icon"></i> <div class="rno-document-tip-title">说明</div> <div class="rno-document-tip-desc"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></div> </div></blockquote></p>
|
|
1752
1692
|
:type QualificationId: int
|
|
1753
1693
|
"""
|
|
1754
1694
|
self._SignId = None
|
|
@@ -1764,7 +1704,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1764
1704
|
|
|
1765
1705
|
@property
|
|
1766
1706
|
def SignId(self):
|
|
1767
|
-
r"""
|
|
1707
|
+
r"""<p>待修改的签名 ID。</p>
|
|
1768
1708
|
:rtype: int
|
|
1769
1709
|
"""
|
|
1770
1710
|
return self._SignId
|
|
@@ -1775,7 +1715,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1775
1715
|
|
|
1776
1716
|
@property
|
|
1777
1717
|
def SignName(self):
|
|
1778
|
-
r"""
|
|
1718
|
+
r"""<p>签名名称。</p>
|
|
1779
1719
|
:rtype: str
|
|
1780
1720
|
"""
|
|
1781
1721
|
return self._SignName
|
|
@@ -1786,13 +1726,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1786
1726
|
|
|
1787
1727
|
@property
|
|
1788
1728
|
def SignType(self):
|
|
1789
|
-
r"""
|
|
1790
|
-
0:公司,可选 DocumentType 有(0,1)。
|
|
1791
|
-
1:APP,可选 DocumentType 有(0,1,2,3,4) 。
|
|
1792
|
-
4:商标,可选 DocumentType 有(7)。
|
|
1793
|
-
5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。
|
|
1794
|
-
注1:必须按照对应关系选择证明类型,否则会审核失败。
|
|
1795
|
-
注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
1729
|
+
r"""<p>签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):<br>0:公司,可选 DocumentType 有(0,1)。<br>1:APP,可选 DocumentType 有(0,1,2,3,4) 。<br>4:商标,可选 DocumentType 有(7)。<br>5:政府/机关事业单位/其他机构,可选 DocumentType 有(2,3)。<br>注1:必须按照对应关系选择证明类型,否则会审核失败。<br>注2:签名类型2(网站)、3(公众号)、6(小程序)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注3:申请国内短信签名已不再支持签名类型1(APP),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1796
1730
|
:rtype: int
|
|
1797
1731
|
"""
|
|
1798
1732
|
return self._SignType
|
|
@@ -1803,14 +1737,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1803
1737
|
|
|
1804
1738
|
@property
|
|
1805
1739
|
def DocumentType(self):
|
|
1806
|
-
r"""
|
|
1807
|
-
0:三证合一。
|
|
1808
|
-
1:企业营业执照。
|
|
1809
|
-
2:组织机构代码证书。
|
|
1810
|
-
3:社会信用代码证书。
|
|
1811
|
-
4:应用后台管理截图(个人开发APP)。
|
|
1812
|
-
7:商标注册书。
|
|
1813
|
-
注:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 [关于腾讯云短信签名申请规则更新的公告](https://cloud.tencent.com/document/product/382/116397)。
|
|
1740
|
+
r"""<p>证明类型:<br>0:三证合一。<br>1:企业营业执照。<br>2:组织机构代码证书。<br>3:社会信用代码证书。<br>4:应用后台管理截图(个人开发APP)。<br>7:商标注册书。<br>注1:证明类型5(网站备案后台截图)、6(小程序设置页面截图)、8(公众号设置页面截图)已不再支持,具体可参考 <a href="https://cloud.tencent.com/document/product/382/116397">关于腾讯云短信签名申请规则更新的公告</a>。<br>注2:申请国内短信签名已不再支持证明类型4(应用后台管理截图),具体可参考 <a href="https://cloud.tencent.com/announce/detail/2256">关于腾讯云短信签名申请规则更新的公告</a>。</p>
|
|
1814
1741
|
:rtype: int
|
|
1815
1742
|
"""
|
|
1816
1743
|
return self._DocumentType
|
|
@@ -1821,10 +1748,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1821
1748
|
|
|
1822
1749
|
@property
|
|
1823
1750
|
def International(self):
|
|
1824
|
-
r"""
|
|
1825
|
-
0:表示国内短信。
|
|
1826
|
-
1:表示国际/港澳台短信。
|
|
1827
|
-
注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。
|
|
1751
|
+
r"""<p>是否国际/港澳台短信:<br>0:表示国内短信。<br>1:表示国际/港澳台短信。<br>注:需要和待修改签名International值保持一致,该参数不能直接修改国内签名到国际签名。</p>
|
|
1828
1752
|
:rtype: int
|
|
1829
1753
|
"""
|
|
1830
1754
|
return self._International
|
|
@@ -1835,9 +1759,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1835
1759
|
|
|
1836
1760
|
@property
|
|
1837
1761
|
def SignPurpose(self):
|
|
1838
|
-
r"""
|
|
1839
|
-
0:自用。
|
|
1840
|
-
1:他用。
|
|
1762
|
+
r"""<p>签名用途:<br>0:自用。<br>1:他用。</p>
|
|
1841
1763
|
:rtype: int
|
|
1842
1764
|
"""
|
|
1843
1765
|
return self._SignPurpose
|
|
@@ -1848,7 +1770,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1848
1770
|
|
|
1849
1771
|
@property
|
|
1850
1772
|
def ProofImage(self):
|
|
1851
|
-
r"""
|
|
1773
|
+
r"""<p>签名对应的资质证明图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。</p>
|
|
1852
1774
|
:rtype: str
|
|
1853
1775
|
"""
|
|
1854
1776
|
return self._ProofImage
|
|
@@ -1859,9 +1781,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1859
1781
|
|
|
1860
1782
|
@property
|
|
1861
1783
|
def CommissionImage(self):
|
|
1862
|
-
r"""
|
|
1863
|
-
图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀`data:image/jpeg;base64,`再赋值给该参数。
|
|
1864
|
-
注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。
|
|
1784
|
+
r"""<p>委托授权证明。选择 SignPurpose 为他用之后需要提交委托的授权证明。<br>图片需先进行 base64 编码格式转换,将转换后的字符串去掉前缀<code>data:image/jpeg;base64,</code>再赋值给该参数。<br>注:只有 SignPurpose 在选择为 1(他用)时,这个字段才会生效。</p>
|
|
1865
1785
|
:rtype: str
|
|
1866
1786
|
"""
|
|
1867
1787
|
return self._CommissionImage
|
|
@@ -1872,7 +1792,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1872
1792
|
|
|
1873
1793
|
@property
|
|
1874
1794
|
def Remark(self):
|
|
1875
|
-
r"""
|
|
1795
|
+
r"""<p>签名的申请备注。</p>
|
|
1876
1796
|
:rtype: str
|
|
1877
1797
|
"""
|
|
1878
1798
|
return self._Remark
|
|
@@ -1883,7 +1803,7 @@ class ModifySmsSignRequest(AbstractModel):
|
|
|
1883
1803
|
|
|
1884
1804
|
@property
|
|
1885
1805
|
def QualificationId(self):
|
|
1886
|
-
r"""
|
|
1806
|
+
r"""<p>已审核通过的国内短信的资质 ID。资质 ID 信息可前往国内短信的 <a href="https://console.cloud.tencent.com/smsv2/enterprise">实名资质管理</a> 页查看。<blockquote class="rno-document-tips rno-document-tips-notice"> <div class="rno-document-tips-body"> <i class="rno-document-tip-icon"></i> <div class="rno-document-tip-title">说明</div> <div class="rno-document-tip-desc"><ul><li>国内短信需填写资质ID,国际短信无需填写。</li></ul></div> </div></blockquote></p>
|
|
1887
1807
|
:rtype: int
|
|
1888
1808
|
"""
|
|
1889
1809
|
return self._QualificationId
|
|
@@ -1921,7 +1841,7 @@ class ModifySmsSignResponse(AbstractModel):
|
|
|
1921
1841
|
|
|
1922
1842
|
def __init__(self):
|
|
1923
1843
|
r"""
|
|
1924
|
-
:param _ModifySignStatus:
|
|
1844
|
+
:param _ModifySignStatus: <p>修改签名响应</p>
|
|
1925
1845
|
:type ModifySignStatus: :class:`tencentcloud.sms.v20210111.models.ModifySignStatus`
|
|
1926
1846
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1927
1847
|
:type RequestId: str
|
|
@@ -1931,7 +1851,7 @@ class ModifySmsSignResponse(AbstractModel):
|
|
|
1931
1851
|
|
|
1932
1852
|
@property
|
|
1933
1853
|
def ModifySignStatus(self):
|
|
1934
|
-
r"""
|
|
1854
|
+
r"""<p>修改签名响应</p>
|
|
1935
1855
|
:rtype: :class:`tencentcloud.sms.v20210111.models.ModifySignStatus`
|
|
1936
1856
|
"""
|
|
1937
1857
|
return self._ModifySignStatus
|
|
@@ -2159,6 +2079,102 @@ class ModifyTemplateStatus(AbstractModel):
|
|
|
2159
2079
|
|
|
2160
2080
|
|
|
2161
2081
|
|
|
2082
|
+
class MultiSmsInfo(AbstractModel):
|
|
2083
|
+
r"""批量发送中每个手机号的发送信息。
|
|
2084
|
+
|
|
2085
|
+
"""
|
|
2086
|
+
|
|
2087
|
+
def __init__(self):
|
|
2088
|
+
r"""
|
|
2089
|
+
:param _PhoneNumber: <p>下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为国际/港澳台手机号。 例如:+60198890000, 其中前面有一个+号 ,60为国家码,198890000为手机号。</p>
|
|
2090
|
+
:type PhoneNumber: str
|
|
2091
|
+
:param _TemplateId: <p>模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 <a href="https://console.cloud.tencent.com/smsv2/isms-template">国际/港澳台短信</a> 的正文模板管理查看,仅支持使用国际/港澳台短信模板。</p>
|
|
2092
|
+
:type TemplateId: str
|
|
2093
|
+
:param _TemplateParamSet: <p>模板参数,若无模板参数,则设置为空。<blockquote class="rno-document-tips rno-document-tips-notice"> <div class="rno-document-tips-body"> <i class="rno-document-tip-icon"></i> <div class="rno-document-tip-title">注意</div> <div class="rno-document-tip-desc"><p>模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</p></div> </div></blockquote></p>
|
|
2094
|
+
:type TemplateParamSet: list of str
|
|
2095
|
+
:param _SenderId: <p>国际/港澳台短信 Sender ID。可参考 <a href="https://cloud.tencent.com/document/product/382/102831">Sender ID 说明</a>。注:国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。</p>
|
|
2096
|
+
:type SenderId: str
|
|
2097
|
+
:param _SessionContext: <p>用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。</p>
|
|
2098
|
+
:type SessionContext: str
|
|
2099
|
+
"""
|
|
2100
|
+
self._PhoneNumber = None
|
|
2101
|
+
self._TemplateId = None
|
|
2102
|
+
self._TemplateParamSet = None
|
|
2103
|
+
self._SenderId = None
|
|
2104
|
+
self._SessionContext = None
|
|
2105
|
+
|
|
2106
|
+
@property
|
|
2107
|
+
def PhoneNumber(self):
|
|
2108
|
+
r"""<p>下发手机号码,采用 E.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为国际/港澳台手机号。 例如:+60198890000, 其中前面有一个+号 ,60为国家码,198890000为手机号。</p>
|
|
2109
|
+
:rtype: str
|
|
2110
|
+
"""
|
|
2111
|
+
return self._PhoneNumber
|
|
2112
|
+
|
|
2113
|
+
@PhoneNumber.setter
|
|
2114
|
+
def PhoneNumber(self, PhoneNumber):
|
|
2115
|
+
self._PhoneNumber = PhoneNumber
|
|
2116
|
+
|
|
2117
|
+
@property
|
|
2118
|
+
def TemplateId(self):
|
|
2119
|
+
r"""<p>模板 ID,必须填写已审核通过的模板 ID。模板 ID 可前往 <a href="https://console.cloud.tencent.com/smsv2/isms-template">国际/港澳台短信</a> 的正文模板管理查看,仅支持使用国际/港澳台短信模板。</p>
|
|
2120
|
+
:rtype: str
|
|
2121
|
+
"""
|
|
2122
|
+
return self._TemplateId
|
|
2123
|
+
|
|
2124
|
+
@TemplateId.setter
|
|
2125
|
+
def TemplateId(self, TemplateId):
|
|
2126
|
+
self._TemplateId = TemplateId
|
|
2127
|
+
|
|
2128
|
+
@property
|
|
2129
|
+
def TemplateParamSet(self):
|
|
2130
|
+
r"""<p>模板参数,若无模板参数,则设置为空。<blockquote class="rno-document-tips rno-document-tips-notice"> <div class="rno-document-tips-body"> <i class="rno-document-tip-icon"></i> <div class="rno-document-tip-title">注意</div> <div class="rno-document-tip-desc"><p>模板参数的个数需要与 TemplateId 对应模板的变量个数保持一致。</p></div> </div></blockquote></p>
|
|
2131
|
+
:rtype: list of str
|
|
2132
|
+
"""
|
|
2133
|
+
return self._TemplateParamSet
|
|
2134
|
+
|
|
2135
|
+
@TemplateParamSet.setter
|
|
2136
|
+
def TemplateParamSet(self, TemplateParamSet):
|
|
2137
|
+
self._TemplateParamSet = TemplateParamSet
|
|
2138
|
+
|
|
2139
|
+
@property
|
|
2140
|
+
def SenderId(self):
|
|
2141
|
+
r"""<p>国际/港澳台短信 Sender ID。可参考 <a href="https://cloud.tencent.com/document/product/382/102831">Sender ID 说明</a>。注:国际/港澳台短信已申请独立 SenderId 需要填写该字段,默认使用公共 SenderId,无需填写该字段。</p>
|
|
2142
|
+
:rtype: str
|
|
2143
|
+
"""
|
|
2144
|
+
return self._SenderId
|
|
2145
|
+
|
|
2146
|
+
@SenderId.setter
|
|
2147
|
+
def SenderId(self, SenderId):
|
|
2148
|
+
self._SenderId = SenderId
|
|
2149
|
+
|
|
2150
|
+
@property
|
|
2151
|
+
def SessionContext(self):
|
|
2152
|
+
r"""<p>用户的 session 内容,可以携带用户侧 ID 等上下文信息,server 会原样返回。注意长度需小于512字节。</p>
|
|
2153
|
+
:rtype: str
|
|
2154
|
+
"""
|
|
2155
|
+
return self._SessionContext
|
|
2156
|
+
|
|
2157
|
+
@SessionContext.setter
|
|
2158
|
+
def SessionContext(self, SessionContext):
|
|
2159
|
+
self._SessionContext = SessionContext
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
def _deserialize(self, params):
|
|
2163
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
|
2164
|
+
self._TemplateId = params.get("TemplateId")
|
|
2165
|
+
self._TemplateParamSet = params.get("TemplateParamSet")
|
|
2166
|
+
self._SenderId = params.get("SenderId")
|
|
2167
|
+
self._SessionContext = params.get("SessionContext")
|
|
2168
|
+
memeber_set = set(params.keys())
|
|
2169
|
+
for name, value in vars(self).items():
|
|
2170
|
+
property_name = name[1:]
|
|
2171
|
+
if property_name in memeber_set:
|
|
2172
|
+
memeber_set.remove(property_name)
|
|
2173
|
+
if len(memeber_set) > 0:
|
|
2174
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2175
|
+
|
|
2176
|
+
|
|
2177
|
+
|
|
2162
2178
|
class PhoneNumberInfo(AbstractModel):
|
|
2163
2179
|
r"""号码信息。
|
|
2164
2180
|
|
|
@@ -3240,6 +3256,236 @@ class ReportConversionStatus(AbstractModel):
|
|
|
3240
3256
|
|
|
3241
3257
|
|
|
3242
3258
|
|
|
3259
|
+
class SendMultiGlobalSmsRequest(AbstractModel):
|
|
3260
|
+
r"""SendMultiGlobalSms请求参数结构体
|
|
3261
|
+
|
|
3262
|
+
"""
|
|
3263
|
+
|
|
3264
|
+
def __init__(self):
|
|
3265
|
+
r"""
|
|
3266
|
+
:param _SmsSdkAppId: <p>短信 SdkAppId,在 <a href="https://console.cloud.tencent.com/smsv2/app-manage">短信控制台</a> 添加应用后生成的实际 SdkAppId。</p>
|
|
3267
|
+
:type SmsSdkAppId: str
|
|
3268
|
+
:param _MultiSmsInfoSet: <p>批量发送信息列表,单次请求最多支持200个号码且要求全为国际/港澳台号码。每个元素包含一个手机号码及其对应的模板、模板参数等信息。</p>
|
|
3269
|
+
:type MultiSmsInfoSet: list of MultiSmsInfo
|
|
3270
|
+
"""
|
|
3271
|
+
self._SmsSdkAppId = None
|
|
3272
|
+
self._MultiSmsInfoSet = None
|
|
3273
|
+
|
|
3274
|
+
@property
|
|
3275
|
+
def SmsSdkAppId(self):
|
|
3276
|
+
r"""<p>短信 SdkAppId,在 <a href="https://console.cloud.tencent.com/smsv2/app-manage">短信控制台</a> 添加应用后生成的实际 SdkAppId。</p>
|
|
3277
|
+
:rtype: str
|
|
3278
|
+
"""
|
|
3279
|
+
return self._SmsSdkAppId
|
|
3280
|
+
|
|
3281
|
+
@SmsSdkAppId.setter
|
|
3282
|
+
def SmsSdkAppId(self, SmsSdkAppId):
|
|
3283
|
+
self._SmsSdkAppId = SmsSdkAppId
|
|
3284
|
+
|
|
3285
|
+
@property
|
|
3286
|
+
def MultiSmsInfoSet(self):
|
|
3287
|
+
r"""<p>批量发送信息列表,单次请求最多支持200个号码且要求全为国际/港澳台号码。每个元素包含一个手机号码及其对应的模板、模板参数等信息。</p>
|
|
3288
|
+
:rtype: list of MultiSmsInfo
|
|
3289
|
+
"""
|
|
3290
|
+
return self._MultiSmsInfoSet
|
|
3291
|
+
|
|
3292
|
+
@MultiSmsInfoSet.setter
|
|
3293
|
+
def MultiSmsInfoSet(self, MultiSmsInfoSet):
|
|
3294
|
+
self._MultiSmsInfoSet = MultiSmsInfoSet
|
|
3295
|
+
|
|
3296
|
+
|
|
3297
|
+
def _deserialize(self, params):
|
|
3298
|
+
self._SmsSdkAppId = params.get("SmsSdkAppId")
|
|
3299
|
+
if params.get("MultiSmsInfoSet") is not None:
|
|
3300
|
+
self._MultiSmsInfoSet = []
|
|
3301
|
+
for item in params.get("MultiSmsInfoSet"):
|
|
3302
|
+
obj = MultiSmsInfo()
|
|
3303
|
+
obj._deserialize(item)
|
|
3304
|
+
self._MultiSmsInfoSet.append(obj)
|
|
3305
|
+
memeber_set = set(params.keys())
|
|
3306
|
+
for name, value in vars(self).items():
|
|
3307
|
+
property_name = name[1:]
|
|
3308
|
+
if property_name in memeber_set:
|
|
3309
|
+
memeber_set.remove(property_name)
|
|
3310
|
+
if len(memeber_set) > 0:
|
|
3311
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
class SendMultiGlobalSmsResponse(AbstractModel):
|
|
3316
|
+
r"""SendMultiGlobalSms返回参数结构体
|
|
3317
|
+
|
|
3318
|
+
"""
|
|
3319
|
+
|
|
3320
|
+
def __init__(self):
|
|
3321
|
+
r"""
|
|
3322
|
+
:param _SendMultiStatusSet: <p>短信批量发送状态。</p>
|
|
3323
|
+
:type SendMultiStatusSet: list of SendMultiStatus
|
|
3324
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3325
|
+
:type RequestId: str
|
|
3326
|
+
"""
|
|
3327
|
+
self._SendMultiStatusSet = None
|
|
3328
|
+
self._RequestId = None
|
|
3329
|
+
|
|
3330
|
+
@property
|
|
3331
|
+
def SendMultiStatusSet(self):
|
|
3332
|
+
r"""<p>短信批量发送状态。</p>
|
|
3333
|
+
:rtype: list of SendMultiStatus
|
|
3334
|
+
"""
|
|
3335
|
+
return self._SendMultiStatusSet
|
|
3336
|
+
|
|
3337
|
+
@SendMultiStatusSet.setter
|
|
3338
|
+
def SendMultiStatusSet(self, SendMultiStatusSet):
|
|
3339
|
+
self._SendMultiStatusSet = SendMultiStatusSet
|
|
3340
|
+
|
|
3341
|
+
@property
|
|
3342
|
+
def RequestId(self):
|
|
3343
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3344
|
+
:rtype: str
|
|
3345
|
+
"""
|
|
3346
|
+
return self._RequestId
|
|
3347
|
+
|
|
3348
|
+
@RequestId.setter
|
|
3349
|
+
def RequestId(self, RequestId):
|
|
3350
|
+
self._RequestId = RequestId
|
|
3351
|
+
|
|
3352
|
+
|
|
3353
|
+
def _deserialize(self, params):
|
|
3354
|
+
if params.get("SendMultiStatusSet") is not None:
|
|
3355
|
+
self._SendMultiStatusSet = []
|
|
3356
|
+
for item in params.get("SendMultiStatusSet"):
|
|
3357
|
+
obj = SendMultiStatus()
|
|
3358
|
+
obj._deserialize(item)
|
|
3359
|
+
self._SendMultiStatusSet.append(obj)
|
|
3360
|
+
self._RequestId = params.get("RequestId")
|
|
3361
|
+
|
|
3362
|
+
|
|
3363
|
+
class SendMultiStatus(AbstractModel):
|
|
3364
|
+
r"""发送短信状态
|
|
3365
|
+
|
|
3366
|
+
"""
|
|
3367
|
+
|
|
3368
|
+
def __init__(self):
|
|
3369
|
+
r"""
|
|
3370
|
+
:param _SerialNo: <p>发送流水号。</p>
|
|
3371
|
+
:type SerialNo: str
|
|
3372
|
+
:param _PhoneNumber: <p>手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+60198890000, 其中前面有一个+号 ,60为国家码,198890000为手机号。</p>
|
|
3373
|
+
:type PhoneNumber: str
|
|
3374
|
+
:param _Fee: <p>计费条数,计费规则请查询 <a href="https://cloud.tencent.com/document/product/382/36135">计费策略</a>。</p>
|
|
3375
|
+
:type Fee: int
|
|
3376
|
+
:param _SessionContext: <p>用户 session 内容。</p>
|
|
3377
|
+
:type SessionContext: str
|
|
3378
|
+
:param _Code: <p>短信请求错误码,具体含义请参考 <a href="https://cloud.tencent.com/document/product/382/59177#.E7.9F.AD.E4.BF.A1-API-3.0-.E5.8F.91.E9.80.81.E9.94.99.E8.AF.AF.E7.A0.81">错误码</a>,发送成功返回 "Ok"。</p>
|
|
3379
|
+
:type Code: str
|
|
3380
|
+
:param _Message: <p>短信请求错误码描述。</p>
|
|
3381
|
+
:type Message: str
|
|
3382
|
+
:param _IsoCode: <p>国家码或地区码,例如 US、MY 等,对于未识别出国家码或者地区码,默认返回 DEF,具体支持列表请参考 <a href="https://cloud.tencent.com/document/product/382/18051">国际/港澳台短信价格总览</a>。</p>
|
|
3383
|
+
:type IsoCode: str
|
|
3384
|
+
"""
|
|
3385
|
+
self._SerialNo = None
|
|
3386
|
+
self._PhoneNumber = None
|
|
3387
|
+
self._Fee = None
|
|
3388
|
+
self._SessionContext = None
|
|
3389
|
+
self._Code = None
|
|
3390
|
+
self._Message = None
|
|
3391
|
+
self._IsoCode = None
|
|
3392
|
+
|
|
3393
|
+
@property
|
|
3394
|
+
def SerialNo(self):
|
|
3395
|
+
r"""<p>发送流水号。</p>
|
|
3396
|
+
:rtype: str
|
|
3397
|
+
"""
|
|
3398
|
+
return self._SerialNo
|
|
3399
|
+
|
|
3400
|
+
@SerialNo.setter
|
|
3401
|
+
def SerialNo(self, SerialNo):
|
|
3402
|
+
self._SerialNo = SerialNo
|
|
3403
|
+
|
|
3404
|
+
@property
|
|
3405
|
+
def PhoneNumber(self):
|
|
3406
|
+
r"""<p>手机号码,E.164标准,+[国家或地区码][手机号] ,示例如:+60198890000, 其中前面有一个+号 ,60为国家码,198890000为手机号。</p>
|
|
3407
|
+
:rtype: str
|
|
3408
|
+
"""
|
|
3409
|
+
return self._PhoneNumber
|
|
3410
|
+
|
|
3411
|
+
@PhoneNumber.setter
|
|
3412
|
+
def PhoneNumber(self, PhoneNumber):
|
|
3413
|
+
self._PhoneNumber = PhoneNumber
|
|
3414
|
+
|
|
3415
|
+
@property
|
|
3416
|
+
def Fee(self):
|
|
3417
|
+
r"""<p>计费条数,计费规则请查询 <a href="https://cloud.tencent.com/document/product/382/36135">计费策略</a>。</p>
|
|
3418
|
+
:rtype: int
|
|
3419
|
+
"""
|
|
3420
|
+
return self._Fee
|
|
3421
|
+
|
|
3422
|
+
@Fee.setter
|
|
3423
|
+
def Fee(self, Fee):
|
|
3424
|
+
self._Fee = Fee
|
|
3425
|
+
|
|
3426
|
+
@property
|
|
3427
|
+
def SessionContext(self):
|
|
3428
|
+
r"""<p>用户 session 内容。</p>
|
|
3429
|
+
:rtype: str
|
|
3430
|
+
"""
|
|
3431
|
+
return self._SessionContext
|
|
3432
|
+
|
|
3433
|
+
@SessionContext.setter
|
|
3434
|
+
def SessionContext(self, SessionContext):
|
|
3435
|
+
self._SessionContext = SessionContext
|
|
3436
|
+
|
|
3437
|
+
@property
|
|
3438
|
+
def Code(self):
|
|
3439
|
+
r"""<p>短信请求错误码,具体含义请参考 <a href="https://cloud.tencent.com/document/product/382/59177#.E7.9F.AD.E4.BF.A1-API-3.0-.E5.8F.91.E9.80.81.E9.94.99.E8.AF.AF.E7.A0.81">错误码</a>,发送成功返回 "Ok"。</p>
|
|
3440
|
+
:rtype: str
|
|
3441
|
+
"""
|
|
3442
|
+
return self._Code
|
|
3443
|
+
|
|
3444
|
+
@Code.setter
|
|
3445
|
+
def Code(self, Code):
|
|
3446
|
+
self._Code = Code
|
|
3447
|
+
|
|
3448
|
+
@property
|
|
3449
|
+
def Message(self):
|
|
3450
|
+
r"""<p>短信请求错误码描述。</p>
|
|
3451
|
+
:rtype: str
|
|
3452
|
+
"""
|
|
3453
|
+
return self._Message
|
|
3454
|
+
|
|
3455
|
+
@Message.setter
|
|
3456
|
+
def Message(self, Message):
|
|
3457
|
+
self._Message = Message
|
|
3458
|
+
|
|
3459
|
+
@property
|
|
3460
|
+
def IsoCode(self):
|
|
3461
|
+
r"""<p>国家码或地区码,例如 US、MY 等,对于未识别出国家码或者地区码,默认返回 DEF,具体支持列表请参考 <a href="https://cloud.tencent.com/document/product/382/18051">国际/港澳台短信价格总览</a>。</p>
|
|
3462
|
+
:rtype: str
|
|
3463
|
+
"""
|
|
3464
|
+
return self._IsoCode
|
|
3465
|
+
|
|
3466
|
+
@IsoCode.setter
|
|
3467
|
+
def IsoCode(self, IsoCode):
|
|
3468
|
+
self._IsoCode = IsoCode
|
|
3469
|
+
|
|
3470
|
+
|
|
3471
|
+
def _deserialize(self, params):
|
|
3472
|
+
self._SerialNo = params.get("SerialNo")
|
|
3473
|
+
self._PhoneNumber = params.get("PhoneNumber")
|
|
3474
|
+
self._Fee = params.get("Fee")
|
|
3475
|
+
self._SessionContext = params.get("SessionContext")
|
|
3476
|
+
self._Code = params.get("Code")
|
|
3477
|
+
self._Message = params.get("Message")
|
|
3478
|
+
self._IsoCode = params.get("IsoCode")
|
|
3479
|
+
memeber_set = set(params.keys())
|
|
3480
|
+
for name, value in vars(self).items():
|
|
3481
|
+
property_name = name[1:]
|
|
3482
|
+
if property_name in memeber_set:
|
|
3483
|
+
memeber_set.remove(property_name)
|
|
3484
|
+
if len(memeber_set) > 0:
|
|
3485
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3486
|
+
|
|
3487
|
+
|
|
3488
|
+
|
|
3243
3489
|
class SendSmsRequest(AbstractModel):
|
|
3244
3490
|
r"""SendSms请求参数结构体
|
|
3245
3491
|
|
|
@@ -385,6 +385,29 @@ class SmsClient(AbstractClient):
|
|
|
385
385
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
386
386
|
|
|
387
387
|
|
|
388
|
+
def SendMultiGlobalSms(self, request):
|
|
389
|
+
r"""本接口 (SendMultiGlobalSms) 用于批量发送国际/港澳台短信,相比 SendSms 接口,支持在单次请求中向多个手机号发送不同内容的短信,并支持指定不同的SenderId。
|
|
390
|
+
|
|
391
|
+
:param request: Request instance for SendMultiGlobalSms.
|
|
392
|
+
:type request: :class:`tencentcloud.sms.v20210111.models.SendMultiGlobalSmsRequest`
|
|
393
|
+
:rtype: :class:`tencentcloud.sms.v20210111.models.SendMultiGlobalSmsResponse`
|
|
394
|
+
|
|
395
|
+
"""
|
|
396
|
+
try:
|
|
397
|
+
params = request._serialize()
|
|
398
|
+
headers = request.headers
|
|
399
|
+
body = self.call("SendMultiGlobalSms", params, headers=headers)
|
|
400
|
+
response = json.loads(body)
|
|
401
|
+
model = models.SendMultiGlobalSmsResponse()
|
|
402
|
+
model._deserialize(response["Response"])
|
|
403
|
+
return model
|
|
404
|
+
except Exception as e:
|
|
405
|
+
if isinstance(e, TencentCloudSDKException):
|
|
406
|
+
raise
|
|
407
|
+
else:
|
|
408
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
409
|
+
|
|
410
|
+
|
|
388
411
|
def SendSms(self, request):
|
|
389
412
|
r"""本接口 (SendSms) 用于发送验证码、通知类短信和营销短信。支持国内短信与国际/港澳台短信。
|
|
390
413
|
- 当前接口属于 2021-01-11 版本,如果您仍在使用 [2019-07-11 版本](https://cloud.tencent.com/document/product/382/38778),建议您使用当前最新版本的接口,版本差异可参考[版本描述](https://cloud.tencent.com/document/product/382/63195#.E7.89.88.E6.9C.AC.E6.8F.8F.E8.BF.B0)。
|
|
@@ -309,6 +309,24 @@ class SmsClient(AbstractClient):
|
|
|
309
309
|
|
|
310
310
|
return await self.call_and_deserialize(**kwargs)
|
|
311
311
|
|
|
312
|
+
async def SendMultiGlobalSms(
|
|
313
|
+
self,
|
|
314
|
+
request: models.SendMultiGlobalSmsRequest,
|
|
315
|
+
opts: Dict = None,
|
|
316
|
+
) -> models.SendMultiGlobalSmsResponse:
|
|
317
|
+
"""
|
|
318
|
+
本接口 (SendMultiGlobalSms) 用于批量发送国际/港澳台短信,相比 SendSms 接口,支持在单次请求中向多个手机号发送不同内容的短信,并支持指定不同的SenderId。
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
kwargs = {}
|
|
322
|
+
kwargs["action"] = "SendMultiGlobalSms"
|
|
323
|
+
kwargs["params"] = request._serialize()
|
|
324
|
+
kwargs["resp_cls"] = models.SendMultiGlobalSmsResponse
|
|
325
|
+
kwargs["headers"] = request.headers
|
|
326
|
+
kwargs["opts"] = opts or {}
|
|
327
|
+
|
|
328
|
+
return await self.call_and_deserialize(**kwargs)
|
|
329
|
+
|
|
312
330
|
async def SendSms(
|
|
313
331
|
self,
|
|
314
332
|
request: models.SendSmsRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-sms
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.85
|
|
4
4
|
Summary: Tencent Cloud Sms SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.85
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=sCEMcmVH3XCAJwzQiydNTwwwvLnQeWsRgWiuwbNA4Gk,629
|
|
2
|
+
tencentcloud/sms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/sms/v20190711/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/sms/v20190711/errorcodes.py,sha256=Ri8_LGgqCjgn6yOm7nVXtHu0BXuMEu17-DoOExp4TjE,20607
|
|
5
|
+
tencentcloud/sms/v20190711/models.py,sha256=eu1oaeoX3APy2afXoxaoE4euWA7KmuodVnm5AKatfkc,132215
|
|
6
|
+
tencentcloud/sms/v20190711/sms_client.py,sha256=sPjol8WNAtAZUiVVNnfnsOaVytq7J108OnWbPIZCOl4,22551
|
|
7
|
+
tencentcloud/sms/v20190711/sms_client_async.py,sha256=ayKOTpQMd590fsCLxWqx3ES-TdStMf2n95uxvUE5zWI,17661
|
|
8
|
+
tencentcloud/sms/v20210111/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
tencentcloud/sms/v20210111/errorcodes.py,sha256=2JJVmsorzAMfvefOS0KPdg0PYfBnxOlmEkvEPYZI0vM,21793
|
|
10
|
+
tencentcloud/sms/v20210111/models.py,sha256=_hhZbpw2NMXMwP6eL2IO2o5yrg5xdLlIKoqnk_ZOk3I,161737
|
|
11
|
+
tencentcloud/sms/v20210111/sms_client.py,sha256=b1PfwtVL1LmWV3_9p_6L_K8NWUCzHpHZjDkNKIBwQd8,26472
|
|
12
|
+
tencentcloud/sms/v20210111/sms_client_async.py,sha256=5GO3_oXlT6RTaygKu-axEzKUutrKjC5vLHAaJey2J4E,20679
|
|
13
|
+
tencentcloud_sdk_python_sms-3.1.85.dist-info/METADATA,sha256=DH17T3M7Q_7LDWendyk-XQoAsinQyM4ljVwgitdzHTE,1495
|
|
14
|
+
tencentcloud_sdk_python_sms-3.1.85.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
15
|
+
tencentcloud_sdk_python_sms-3.1.85.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
16
|
+
tencentcloud_sdk_python_sms-3.1.85.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=mcjD6FSc4s5jn7T8V1KlypcFxix_t81sWYWebG3n3iA,629
|
|
2
|
-
tencentcloud/sms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/sms/v20190711/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/sms/v20190711/errorcodes.py,sha256=Ri8_LGgqCjgn6yOm7nVXtHu0BXuMEu17-DoOExp4TjE,20607
|
|
5
|
-
tencentcloud/sms/v20190711/models.py,sha256=T6mdtwBwky-T6cjGMBNy93iqPxF8BjWaxhXPE4t3UDM,130455
|
|
6
|
-
tencentcloud/sms/v20190711/sms_client.py,sha256=sPjol8WNAtAZUiVVNnfnsOaVytq7J108OnWbPIZCOl4,22551
|
|
7
|
-
tencentcloud/sms/v20190711/sms_client_async.py,sha256=ayKOTpQMd590fsCLxWqx3ES-TdStMf2n95uxvUE5zWI,17661
|
|
8
|
-
tencentcloud/sms/v20210111/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
tencentcloud/sms/v20210111/errorcodes.py,sha256=a3kxaNshyNjXkwKaRk39CTJo68NuTsVbj_rFpGpVi1g,21429
|
|
10
|
-
tencentcloud/sms/v20210111/models.py,sha256=N7ogLG_fJe22Mzm-QWbhIWKsSrZUs0QDB-J7RwAr8Hs,144550
|
|
11
|
-
tencentcloud/sms/v20210111/sms_client.py,sha256=mjyPBphyZacHinHAYu8lyF7HNrCrFNFclufWBtklGws,25409
|
|
12
|
-
tencentcloud/sms/v20210111/sms_client_async.py,sha256=zdzCfi5lcMlQsgS7v1K6A5JDHO5k5kTkGhuCs_QwBXo,19916
|
|
13
|
-
tencentcloud_sdk_python_sms-3.1.79.dist-info/METADATA,sha256=7KGpOuA-qO9XGkhJVoY8fdTdMX4qxj4wWQdVklUteHI,1495
|
|
14
|
-
tencentcloud_sdk_python_sms-3.1.79.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
15
|
-
tencentcloud_sdk_python_sms-3.1.79.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
16
|
-
tencentcloud_sdk_python_sms-3.1.79.dist-info/RECORD,,
|
{tencentcloud_sdk_python_sms-3.1.79.dist-info → tencentcloud_sdk_python_sms-3.1.85.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|