如何触发从 bot 到 Skype 用户的新对话?不确定在 Skype 频道的 id 参数中发送什么

How to trigger a new conversation from bot to a Skype user ? Not sure what to send in the id parameter for Skype channel

用例:我们有我们的票务工具网络 app.Now 每当创建新票时,bot 应该向创建票的用户的 skypeId 发送消息。我不确定在 skype 中传递什么编号 属性.

我尝试使用机器人连接器 api https://skype.botframework.com/v3/conversations

json payload

{
    "bot": {
        "id": "botId",
        "name": "YashPA"
    },
    "channelId": "skype",
    "isGroup": false,
    "members": [
        {
            "id": "",
            "name": "Nikhil"
        }
    ],
    "topicName": "News Alert"
}

在上面 json 我不确定在成员数组的 id 中传递什么 property.If 我传递了 skypeid 或 emailid 它给出了以下错误响应:

"error": {
        "code": "BadSyntax",
        "message": "Bad format of conversation ID"
    }

预期输出:应该得到一个有效的会话 ID。

另外我想知道我采用的方法是否正确或者是否有更好的方法来实现此实现

根据设计,在用户开始与机器人联系之前,机器人无法联系 Skype 用户。用户执行该步骤后,将创建渠道帐户信息,其中将包含您要查找的字段。

Here 是一个较旧的 github 问题(从 2017 年开始,所以它是 v3)。它谈到获取您需要的 channelAccount 信息。

获得频道帐户信息后,一旦某个功能(关于票证创建)解决,就可以让机器人向 Skype 用户发送主动消息。