microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
Tests/Microsoft.Teams.Api.Tests/Json/Activity/Command/CommandActivity.json
26lines · modecode
| 1 | { |
| 2 | "type": "command", |
| 3 | "channelId": "msteams", |
| 4 | "name": "TestCommand", |
| 5 | "from": { |
| 6 | "id": "botId", |
| 7 | "aadObjectId": "aadObjectId", |
| 8 | "role": "bot", |
| 9 | "name": "Bot user", |
| 10 | "properties": { |
| 11 | "key1": "value1", |
| 12 | "key2": "value2" |
| 13 | } |
| 14 | }, |
| 15 | "recipient": { |
| 16 | "id": "userId1", |
| 17 | "name": "User One" |
| 18 | }, |
| 19 | "conversation": { |
| 20 | "id": "someguid", |
| 21 | "tenantId": "tenantId", |
| 22 | "conversationType": "channel", |
| 23 | "name": "channelName", |
| 24 | "isGroup": false |
| 25 | } |
| 26 | } |