Skip to content

Commit

Permalink
Fix: move the new message type to right place
Browse files Browse the repository at this point in the history
  • Loading branch information
tecoad committed Jul 29, 2024
1 parent 3320d28 commit ce1df89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/types/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ export type MessageType =
| "template"
| "text"
| "video"
| "reaction"
| "request_welcome";
| "reaction";

export type MessageContext = {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/types/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export type WebhookMessage = {
/**
* The type of message that has been received by the business that has subscribed to Webhooks.
*/
type: MessageType | "system" | "unknown";
type: MessageType | "system" | "unknown" | "request_welcome";
/**
* The time when the customer sent the message to the business in unix format
*/
Expand Down

0 comments on commit ce1df89

Please sign in to comment.