[x] Updated the CHANGELOG.md to reflect any feature, bug fixes, or known issues made in the source code
[x] Tested code changes and observed expected behavior in the example app
[x] Performed a visual inspection of the Files changed tab prior to submitting the pull request for review to ensure proper usage of the style guide
All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.
[x] I acknowledge that all my contributions will be made under the project's license.
Description
This PR refactors the CallMessage classes to simplify the API for sending call messages. Instead of having the customer construct an ephemeral call message class, we just have the customer pass in an interface representing the call message. This PR also utilizes the inheritdoc feature of TSDocs to prevent documentation duplication.
Breakdown
Refactor CallMessage classes
Rename CallMessage to IncomingCallMessage
Create interface for CallMessage parameter for Call.sendMessage and CallInvite.sendMessage
Validation
Unit tests
e2e tests
Manual testing, see below table
Scenario
iOS
Android
Send a valid message
Success
Success
Send a large message
Fail - No callback, neither sent or failure, known issue
Submission Checklist
CHANGELOG.md
to reflect any feature, bug fixes, or known issues made in the source codeFiles changed
tab prior to submitting the pull request for review to ensure proper usage of the style guideDescription
This PR refactors the CallMessage classes to simplify the API for sending call messages. Instead of having the customer construct an ephemeral call message class, we just have the customer pass in an interface representing the call message. This PR also utilizes the
inheritdoc
feature of TSDocs to prevent documentation duplication.Breakdown
Call.sendMessage
andCallInvite.sendMessage
Validation
Additional Notes
N/A