-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Bug Description
When running the bot service I can see the events occuring for meeting_start and meeting_end.
The validation fails across all input attributes because they are in snake_case.
Fixing files:
packages/api/src/microsoft/teams/api/activities/event/meeting_end.py
packages/api/src/microsoft/teams/api/activities/event/meeting_start.py
To accept snakeCase population seems to work fine
Steps to Reproduce
- Run the bot service.
- Install the app in meeting.
- Leave and join meeting. Attempt to hook into the @app.on_meeting_end and @app.on_meeting_start
- Validation error
Expected Behavior
No validation error and usable input
Actual Behavior
Validation Error:
[ERROR] @teams/app.HttpPlugin {
[ERROR] @teams/app.HttpPlugin "type": "missing",
[ERROR] @teams/app.HttpPlugin "loc": [
[ERROR] @teams/app.HttpPlugin "event",
[ERROR] @teams/app.HttpPlugin "application/vnd.microsoft.meetingEnd",
[ERROR] @teams/app.HttpPlugin "value",
[ERROR] @teams/app.HttpPlugin "meetingType"
[ERROR] @teams/app.HttpPlugin ],
[ERROR] @teams/app.HttpPlugin {
[ERROR] @teams/app.HttpPlugin "type": "missing",
[ERROR] @teams/app.HttpPlugin "loc": [
[ERROR] @teams/app.HttpPlugin "event",
[ERROR] @teams/app.HttpPlugin "application/vnd.microsoft.meetingEnd",
[ERROR] @teams/app.HttpPlugin "value",
[ERROR] @teams/app.HttpPlugin "joinUrl"
[ERROR] @teams/app.HttpPlugin ],
SDK Version
2.0.0.a8
Python Version
Python 3.13.11
Additional Context
No response