WebexMessageRequest 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.
代表當 Webex 訊息發送給機器人時所接收的有效載荷。
[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class WebexMessageRequest
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type WebexMessageRequest = class
Public Class WebexMessageRequest
- 繼承
-
WebexMessageRequest
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| WebexMessageRequest() |
已淘汰.
初始化 WebexMessageRequest 類別的新執行個體。 代表建立帶有附件訊息所需的請求。 |
屬性
| 名稱 | Description |
|---|---|
| Attachments |
已淘汰.
取得或設定內容附件,並附加到訊息上。 |
| Files |
已淘汰.
把 URI 傳到二進位檔案,然後貼到房間裡。 每則訊息只允許一個檔案。 |
| Markdown |
已淘汰.
以 Markdown 格式接收或設定訊息。 |
| RoomId |
已淘汰.
會取得或設定訊息的房間編號。 |
| Text |
已淘汰.
接收或設定訊息的文字。 |
| ToPersonEmail |
已淘汰.
發送私密一對一訊息時,會取得或設定收件人的電子郵件地址。 |
| ToPersonId |
已淘汰.
發送私人一對一訊息時,會取得或設定收件人的個人ID。 |
方法
| 名稱 | Description |
|---|---|
| ShouldSerializeFiles() |
已淘汰.
檢查檔案屬性是否應該序列化。 |