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: add fax hooks #75

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Conversation

Dovchik
Copy link
Contributor

@Dovchik Dovchik commented Jun 5, 2024

Add hooks and example

public FaxEventType Event { get; }
}

public abstract class GenericFaxEvent

Choose a reason for hiding this comment

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

Unless I'm mistaken, it seems that some properties are not declared to support an event with application/json content. I would have expected to see file and fileType

src/Sinch/Fax/Hooks/IFaxEvent.cs Show resolved Hide resolved
@Dovchik
Copy link
Contributor Author

Dovchik commented Jun 5, 2024

Extended examples. Added form data handle. I'm not able to provide a class in SDK directly as it will require to import heavy AspNetCore dependency which I don't want to do

@Dovchik Dovchik requested a review from asein-sinch June 5, 2024 14:44
@Dovchik Dovchik merged commit c3af294 into feat/fax-api-support Jun 6, 2024
3 checks passed
@Dovchik Dovchik deleted the feat/fax-add-webhooks-support branch June 6, 2024 07:36
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.

2 participants