interactions.py
interactions.py copied to clipboard
Update voice recording example
Pull Request Type
- [ ] Feature addition
- [ ] Bugfix
- [x] Documentation update
- [ ] Code refactor
- [ ] Tests improvement
- [ ] CI/CD pipeline enhancement
- [ ] Other: [Replace with a description]
Description
The existing example does not work due to missing deferral and missing message body, this fixes both.
Changes
- Added a called to
ctx.defer()at beginning of example - Added message body to output from example
Related Issues
Test Scenarios
Python Compatibility
- [x] I've ensured my code works on Python
3.10.x - [x] I've ensured my code works on Python
3.11.x
Checklist
- [x] I've run the
pre-commitcode linter over all edited files - [x] I've tested my changes on supported Python versions
- [x] I've added tests for my code, if applicable
- [x] I've updated / added documentation, where applicable
Putting on hold until requests are met and satisfied
Closing, PR seems to be dead.