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

Add Webhook delivery completion event #458

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

nsuzuki7713
Copy link
Contributor

Webhook can receive delivery completion events.
However, no type definition is currently provided.
Therefore, I have added a type definition for delivery completion event in this pull request.

@CLAassistant
Copy link

CLAassistant commented Aug 30, 2023

CLA assistant check
All committers have signed the CLA.

lib/types.ts Outdated
Comment on lines 82 to 89
/**
* Webhook event ID, an ID that uniquely identifies a Webhook event, in the form of a ULID string.
*/
webhookEventId: string;
/**
* Whether the webhook event is a resubmitted one or not
*/
deliveryContext: DeliveryContext;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

timestamp: 0,
mode: "active",
type: "message",
};
const webhookSignature = {
"X-Line-Signature": "GzU7H3qOXDzDD6cNcS/9otLzlLFxnYYriz62rNu5BDE=",
"X-Line-Signature": "Ey7AjSuSI2GfTDQHICAiRLLJ+GSMseISNYaQ6qXSjrU=",

This comment was marked as resolved.

@Gasol
Copy link
Contributor

Gasol commented Sep 16, 2023

There is another PR (#340) addressing the same issue from last year. I also worked on resolving this issue at https://github.com/Gasol/line-bot-sdk-nodejs/tree/add-missing-properties-in-event-base

Seriously, It's important for LINE to be more proactive in maintaining their open source projects.

@Yang-33
Copy link
Contributor

Yang-33 commented Sep 21, 2023

@nsuzuki7713 thank you for submitting this change! Could you resolve conflict please?

@tokuhirom tokuhirom deleted the branch line:master September 22, 2023 04:21
@tokuhirom tokuhirom closed this Sep 22, 2023
@tokuhirom tokuhirom reopened this Sep 22, 2023
@Yang-33 Yang-33 changed the base branch from next to master September 25, 2023 23:20
@nsuzuki7713
Copy link
Contributor Author

@Yang-33

Thank you for your review! I've resolved the conflict in the code.
Please take another look when you have a moment.

Copy link
Contributor

@Yang-33 Yang-33 left a comment

Choose a reason for hiding this comment

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

Thank you!

@Yang-33 Yang-33 merged commit d1adc57 into line:master Oct 2, 2023
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.

5 participants