ConnectorClient 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Bot 連接器 REST API 可讓您的 Bot 將訊息傳送和接收至 Bot Framework 開發人員入口網站中設定的通道。 連接器服務會透過 HTTPS 使用業界標準的 REST 和 JSON。
此 REST API 的用戶端程式庫可供使用。 如需清單,請參閱下方。
許多 Bot 都會使用 Bot 連接器 REST API 和相關聯的 Bot 狀態 REST API。 Bot 狀態 REST API 可讓 Bot 儲存和擷取與使用者和交談相關聯的狀態。
Bot 連接器和 Bot 狀態 REST API 的驗證都是使用 JWT 持有人權杖完成,並在 連接器驗證 檔中詳細說明。
Bot 連接器 REST API 的用戶端程式庫
© 2016 Microsoft.
public class ConnectorClient : Microsoft.Rest.ServiceClient<Microsoft.Bot.Connector.ConnectorClient>, IDisposable, Microsoft.Bot.Connector.IConnectorClient
type ConnectorClient = class
inherit ServiceClient<ConnectorClient>
interface IConnectorClient
interface IDisposable
Public Class ConnectorClient
Inherits ServiceClient(Of ConnectorClient)
Implements IConnectorClient, IDisposable
- 繼承
-
Microsoft.Rest.ServiceClient<ConnectorClient>ConnectorClient
- 實作
Attachments |
取得 IAttachments。 |
Base |
取得或設定服務的基底 URI。 |
Conversations |
取得 IConversations。 |
Credentials |
取得可唯一識別用戶端訂用帳戶的訂用帳號憑證。 |
Deserialization |
取得 JSON 還原序列化設定。 |
Serialization |
取得 JSON 序列化設定。 |
Add |
設定 HTTP 用戶端以包含 Bot Framework 的預設標頭。 |
Get |
取得 Azure Bot Service的平臺架構。 |
Get |
取得 Azure Bot Service.NET Framework版本的名稱。 |
Get |
取得 Azure Bot Service的元件版本。 |
Get |
取得 Azure Bot Service作業系統的描述。 |