Closed mohyt closed 6 years ago
Hi @mohyt , thank you for pointing out the error, adding the change and will do a minor version push today.
:tada: This issue has been resolved in version 4.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
export interface FacebookMessagePayloadMessageEntry { mid: string; is_echo?: boolean; app_id?: number; metadata?: string; seq?: string; text?: string; attachments?: FacebookMessagePayloadAttachments[] | FacebookMessagePayloadAttachmentsFallback[]; quick_reply?: { payload: string; }; }
As the attachment can be normal and fallback one, its type should be attachments?: (FacebookMessagePayloadAttachments | FacebookMessagePayloadAttachmentsFallback)[];