IMessageOptions interface
可选消息属性,可发送到提示或 session.say () 等内容。
属性
attachment |
提示客户端应如何布局多个附件。 默认值为“list”。 |
attachments | 对于传入邮件,包含从用户发送的图像等附件。 对于传出消息,包含要发送给用户的卡片或图像等对象。 |
entities | 传递给机器人或用户的结构化对象。 |
input |
客户端提示,让他们知道机器人是否需要进一步输入。 内置提示会自动为传出消息填充此值。 |
text |
文本字段的格式。 默认值为“markdown”。 |
属性详细信息
attachmentLayout
提示客户端应如何布局多个附件。 默认值为“list”。
attachmentLayout?: string
属性值
string
attachments
entities
传递给机器人或用户的结构化对象。
entities?: any[]
属性值
any[]
inputHint
客户端提示,让他们知道机器人是否需要进一步输入。 内置提示会自动为传出消息填充此值。
inputHint?: string
属性值
string
textFormat
文本字段的格式。 默认值为“markdown”。
textFormat?: string
属性值
string