你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ProgramDetails interface

属性

callToAction

调用作文本。 当 InteractiveVoiceResponse 被指定为作类型的调用时提供

callToActionTypes

指示使用者如何注册程序,例如“website”、“pointOfSale”和/或“sms”。

callToActionUrl

程序的“行动调用”图像的 URL。

description

描述号码将如何以及为什么用于消息传送作为程序的一部分。

expectedDateOfService

短信开始发送的日期。应遵循日期/时间的 ISO 8601 Internet 格式。 例如 2021-08-17T22:02:51.316Z、2021-08-17T16:39:57-08:00 等。

isPoliticalCampaign

指示该数字是否用于政治竞选活动。

isVanity

如果请求为虚号,则设置为 true。

name

一个程序名称,指示填充计划简报的目的以及数字将如何用于消息传递。 例如“CONTOSO Shipping”

numberType

键入所需数字,例如“shortCode”或“alphaId”。

preferredVanityNumbers

首选虚号的优先级排序列表。 数字类型为 ShortCode 时,虚数应为 5 或 6 位。 例如555555、222222。

privacyPolicyUrl

隐私策略的 URL。

termsOfServiceUrl

程序服务条款的 URL。

url

计划或公司的 URL。

属性详细信息

callToAction

调用作文本。 当 InteractiveVoiceResponse 被指定为作类型的调用时提供

callToAction?: string

属性值

string

callToActionTypes

指示使用者如何注册程序,例如“website”、“pointOfSale”和/或“sms”。

callToActionTypes?: CallToActionType[]

属性值

callToActionUrl

程序的“行动调用”图像的 URL。

callToActionUrl?: string

属性值

string

description

描述号码将如何以及为什么用于消息传送作为程序的一部分。

description?: string

属性值

string

expectedDateOfService

短信开始发送的日期。应遵循日期/时间的 ISO 8601 Internet 格式。 例如 2021-08-17T22:02:51.316Z、2021-08-17T16:39:57-08:00 等。

expectedDateOfService?: Date

属性值

Date

isPoliticalCampaign

指示该数字是否用于政治竞选活动。

isPoliticalCampaign?: boolean

属性值

boolean

isVanity

如果请求为虚号,则设置为 true。

isVanity?: boolean

属性值

boolean

name

一个程序名称,指示填充计划简报的目的以及数字将如何用于消息传递。 例如“CONTOSO Shipping”

name?: string

属性值

string

numberType

键入所需数字,例如“shortCode”或“alphaId”。

numberType?: NumberType

属性值

preferredVanityNumbers

首选虚号的优先级排序列表。 数字类型为 ShortCode 时,虚数应为 5 或 6 位。 例如555555、222222。

preferredVanityNumbers?: string[]

属性值

string[]

privacyPolicyUrl

隐私策略的 URL。

privacyPolicyUrl?: string

属性值

string

termsOfServiceUrl

程序服务条款的 URL。

termsOfServiceUrl?: string

属性值

string

url

计划或公司的 URL。

url?: string

属性值

string