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

Feat/conversation conversations #36

Merged
merged 19 commits into from
Feb 1, 2024
Merged

Conversation

Dovchik
Copy link
Contributor

@Dovchik Dovchik commented Jan 29, 2024

Covers Conversations/Conversation tag of api.
Also, includes rework of Conversation/Messages models to match server json schema

@Dovchik Dovchik marked this pull request as ready for review January 29, 2024 12:35
var propMask = conversation.GetPropertiesMask();
if (!string.IsNullOrEmpty(propMask)) queryString.Add("update_mask", propMask);

if (metadataUpdateStrategy is not null)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This query parameter should have a default value set to REPLACE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it optional and going to be defaulted by the server?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how to verify that. I hope that this information is intended to the server teams but in order to be on the safe side we may send the default value if nothing is specified by the user

Copy link

@asein-sinch asein-sinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with some small comments to look at

@Dovchik Dovchik merged commit 3dd63db into main Feb 1, 2024
3 checks passed
@Dovchik Dovchik deleted the feat/conversation-conversations branch February 1, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants