Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make from optional for Message and Draft models #204

Merged

Conversation

mrashed-dev
Copy link
Contributor

Description

This PR makes the from field optional for both messages and drafts, aligning it to the API.

License

I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2f99817) 78.32% compared to head (46a35a2) 78.32%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #204   +/-   ##
=========================================
  Coverage     78.32%   78.32%           
  Complexity      196      196           
=========================================
  Files            29       29           
  Lines           715      715           
  Branches         69       69           
=========================================
  Hits            560      560           
  Misses          117      117           
  Partials         38       38           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mrashed-dev mrashed-dev merged commit 42cd063 into main Feb 8, 2024
2 checks passed
@mrashed-dev mrashed-dev deleted the TW-2531-kotlin-sdk-error-when-calling-threads-update branch February 8, 2024 17:59
@mrashed-dev mrashed-dev mentioned this pull request Feb 12, 2024
mrashed-dev added a commit that referenced this pull request Feb 12, 2024
# Changelog
### Added
* Add support for getting OAuth token info (#205)

### Changed
* Fix schema issues in the `Event`, `Message`, `Draft`, and
`CodeExchangeResponse` models (#203, #204, #205)

# License
<!-- Your PR comment must contain the following line for us to merge the
PR. -->
I confirm that this contribution is made under the terms of the MIT
license and that I have the authority necessary to make this
contribution on behalf of its copyright owner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants