-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
types: Allow only ephemeral for defer reply #10696
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
The reason for this is because it is not documented. The API specification was not around then and it seems to be documented there: It should be fine to allow this now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not make WebhookMessageEditOptions
extend MessageEditOptions
in the JSDoc now?
Please describe the changes this PR makes and why it should be merged:
Only ephemeral flag can be set for defer replies. The rest are ignored. But our typing indicates the other two can also be set.
Also typings for
WebhookMessageEditOptions
omitsflags
(for some reason) whenSupressEmbeds
can clearly be setStatus and versioning classification: