mirror of
https://github.com/vercel/chat.git
synced 2026-09-14 18:32:29 +08:00
2e2426d17e
## summary - add `onInstalled` and `onUninstalled` handlers for Teams personal, group chat, and team installations, including upgrades that add or remove the bot from the app manifest - expose a persistable `event.channelId` for proactive messages through `bot.channel(channelId).post()`, alongside raw platform metadata for application-owned persistence - route outbound operations through the service URL encoded in each thread, preserving the explicit `apiUrl` override - document stable bot, tenant, and team installation keys separately from selected-channel destinations, and clean up for both `remove` and `remove-upgrade` - exercise the documented persistence example with regressions for upgrade cleanup, team-scoped removal, reinstall replacement, tenant isolation, and personal/group conversations closes #847 --------- Signed-off-by: Ben Sabic <bensabic@users.noreply.github.com> Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com> Co-authored-by: dancer <josh@afterima.ge>