I want to create a conversation with multiple members using Bot Framework API for Microsoft teams bot, but I get the error
{
"error": {
"code": "BadSyntax",
"message": "Incorrect conversation creation parameters"
}
}
The API I am hitting is - POST
https://smba.trafficmanager.net/in/v3/conversations
The body -
{
"bot": {
"id": "215000000-00000-0000-00000"
},
"isGroup": true,
"members": [
{
"id": "29:1yO0InhR9X61FqwsPnyO0ROgGX_6rBQjIB2UO_ggxdW308dCP8ceY44CIj_h_fDV0v1mQJzm5Q"
},
{
"id": "29:1yO0InhR9X61FqwsPnyO0ROgGX_ggxdW308dCP8ceY44CIj_h_fDV0v1mQJzm5Q"
}
],
"channelData": {
"tenant": {
"id": "812a-4593-95fd-12d43d397474"
}
}
}
There is a similar question posted but I tried what is mentioned in it but it didn't work.
Can someone guide me on how can I create a conversation with multiple members using botframework rest API?