mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
1348532068
* Update docs - Slack Assistants API, App Home tab, Stream stop blocks * Update README.md * Update package readmes, fix readme integration test * Add npm badges to all package READMEs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add test coverage to all packages * Create CODE_OF_CONDUCT.md * Create pull_request_template.md * Create issue templates * Create config.yml * Add unit tests for errors, singleton, logger, message, modals, gchat utils, and teams markdown Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Add a vitest:workspace command * Misc URL fixes * Update CONTRIBUTING.md * Misc fixes, upgrade workflow/serde * Replace PII in integration test data --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
117 lines
3.9 KiB
JSON
117 lines
3.9 KiB
JSON
{
|
|
"botName": "Chat SDK Demo",
|
|
"appId": "11111111-2222-3333-4444-555555555555",
|
|
"botId": "28:11111111-2222-3333-4444-555555555555",
|
|
"serviceUrl": "https://smba.trafficmanager.net/amer/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
|
|
"aiMention": {
|
|
"text": "<at>Chat SDK Demo</at> AI What is love?",
|
|
"textFormat": "plain",
|
|
"attachments": [
|
|
{
|
|
"contentType": "text/html",
|
|
"content": "<p><span itemtype=\"http://schema.skype.com/Mention\" itemscope=\"\" itemid=\"0\">Chat SDK Demo</span> AI What is love?</p>"
|
|
}
|
|
],
|
|
"type": "message",
|
|
"timestamp": "2026-01-03T02:17:32.3098051Z",
|
|
"localTimestamp": "2026-01-02T18:17:32.3098051-08:00",
|
|
"id": "1767406652277",
|
|
"channelId": "msteams",
|
|
"serviceUrl": "https://smba.trafficmanager.net/amer/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
|
|
"from": {
|
|
"id": "29:1xXxFakeUserBase64IdStringForTeamsPlatformAbcDeFgHiJkLmNoPqRsTuVwXyZ012345ABCDEF",
|
|
"name": "Test User",
|
|
"aadObjectId": "00000000-1111-2222-3333-444444444444"
|
|
},
|
|
"conversation": {
|
|
"isGroup": true,
|
|
"conversationType": "channel",
|
|
"tenantId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
"id": "19:d441d38c655c47a085215b2726e76927@thread.tacv2;messageid=1767406652277"
|
|
},
|
|
"recipient": {
|
|
"id": "28:11111111-2222-3333-4444-555555555555",
|
|
"name": "Chat SDK Demo"
|
|
},
|
|
"entities": [
|
|
{
|
|
"mentioned": {
|
|
"id": "28:11111111-2222-3333-4444-555555555555",
|
|
"name": "Chat SDK Demo"
|
|
},
|
|
"text": "<at>Chat SDK Demo</at>",
|
|
"type": "mention"
|
|
},
|
|
{
|
|
"locale": "en-US",
|
|
"country": "US",
|
|
"platform": "Web",
|
|
"timezone": "America/Los_Angeles",
|
|
"type": "clientInfo"
|
|
}
|
|
],
|
|
"channelData": {
|
|
"teamsChannelId": "19:d441d38c655c47a085215b2726e76927@thread.tacv2",
|
|
"teamsTeamId": "19:8j-Mnacwmq2QFDbzykeQH5v55m6cN1X3QJ5viHvGIIQ1@thread.tacv2",
|
|
"channel": { "id": "19:d441d38c655c47a085215b2726e76927@thread.tacv2" },
|
|
"team": {
|
|
"id": "19:8j-Mnacwmq2QFDbzykeQH5v55m6cN1X3QJ5viHvGIIQ1@thread.tacv2"
|
|
},
|
|
"tenant": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }
|
|
},
|
|
"locale": "en-US",
|
|
"localTimezone": "America/Los_Angeles"
|
|
},
|
|
"followUp": {
|
|
"text": "Who are you?",
|
|
"textFormat": "plain",
|
|
"attachments": [
|
|
{
|
|
"contentType": "text/html",
|
|
"content": "<p>Who are you?</p>"
|
|
}
|
|
],
|
|
"type": "message",
|
|
"timestamp": "2026-01-03T02:17:45.4416506Z",
|
|
"localTimestamp": "2026-01-02T18:17:45.4416506-08:00",
|
|
"id": "1767406665397",
|
|
"channelId": "msteams",
|
|
"serviceUrl": "https://smba.trafficmanager.net/amer/a1b2c3d4-e5f6-7890-abcd-ef1234567890/",
|
|
"from": {
|
|
"id": "29:1xXxFakeUserBase64IdStringForTeamsPlatformAbcDeFgHiJkLmNoPqRsTuVwXyZ012345ABCDEF",
|
|
"name": "Test User",
|
|
"aadObjectId": "00000000-1111-2222-3333-444444444444"
|
|
},
|
|
"conversation": {
|
|
"isGroup": true,
|
|
"conversationType": "channel",
|
|
"tenantId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
"id": "19:d441d38c655c47a085215b2726e76927@thread.tacv2;messageid=1767406652277"
|
|
},
|
|
"recipient": {
|
|
"id": "28:11111111-2222-3333-4444-555555555555",
|
|
"name": "Chat SDK Demo"
|
|
},
|
|
"entities": [
|
|
{
|
|
"locale": "en-US",
|
|
"country": "US",
|
|
"platform": "Web",
|
|
"timezone": "America/Los_Angeles",
|
|
"type": "clientInfo"
|
|
}
|
|
],
|
|
"channelData": {
|
|
"teamsChannelId": "19:d441d38c655c47a085215b2726e76927@thread.tacv2",
|
|
"teamsTeamId": "19:8j-Mnacwmq2QFDbzykeQH5v55m6cN1X3QJ5viHvGIIQ1@thread.tacv2",
|
|
"channel": { "id": "19:d441d38c655c47a085215b2726e76927@thread.tacv2" },
|
|
"team": {
|
|
"id": "19:8j-Mnacwmq2QFDbzykeQH5v55m6cN1X3QJ5viHvGIIQ1@thread.tacv2"
|
|
},
|
|
"tenant": { "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890" }
|
|
},
|
|
"locale": "en-US",
|
|
"localTimezone": "America/Los_Angeles"
|
|
}
|
|
}
|