Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Creating group chats through Bot APIs is not supported. However, this can be accomplished with Graph APIs
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
data := map[string]interface{}{
"activity": map[string]interface{}{
"type": "message",
"serviceUrl": "https://smba.trafficmanager.net/apac/",
"channelId": "msteams",
"from": map[string]string{
"id": ts.BotId,
"name": ts.BotName,
},
"locale": "zh-CN",
"text": "hello",
},
"bot": map[string]string{"id": ts.BotId, "name": ts.BotName, "role": "bot"},
"channelData": nil,
"isGroup": true,
"members": []map[string]string{{
"aadObjectId": member.ObjectId,
"id": member.Id,
"name": member.Name,
"role": "user",
}, {
"aadObjectId": member2.ObjectId,
"id": member2.Id,
"name": member2.Name,
"role": "user",
},
},
"tenantId": ts.TenantID,
"topicName": "testtttt",
}
i try https://learn.microsoft.com/zh-cn/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-4.0#create-conversation, but get {"error":{"code":"BadSyntax","message":"Incorrect conversation creation parameters"}}
I would like to ask if this feature can be implemented in the following? Or is there something wrong with my use?
Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
An API that connects multiple Microsoft services, enabling data access and automation across platforms
Additional features, settings, or issues not covered by specific Microsoft Teams categories
Creating group chats through Bot APIs is not supported. However, this can be accomplished with Graph APIs