diff --git a/src/validate/validate.schema.ts b/src/validate/validate.schema.ts index 9379eb0e..91f5e411 100644 --- a/src/validate/validate.schema.ts +++ b/src/validate/validate.schema.ts @@ -135,7 +135,7 @@ export const mediaMessageSchema: JSONSchema7 = { mediaMessage: { type: 'object', properties: { - mediatype: { type: 'string', enum: ['image', 'document', 'video', 'audio'] }, + mediatype: { type: 'string', enum: ['image', 'document', 'video', 'audio', 'sticker'] }, media: { type: 'string' }, fileName: { type: 'string' }, caption: { type: 'string' }, @@ -153,7 +153,7 @@ export const mediaFileMessageSchema: JSONSchema7 = { properties: { number: { ...numberDefinition }, caption: { type: 'string' }, - mediatype: { type: 'string', enum: ['image', 'document', 'video', 'audio'] }, + mediatype: { type: 'string', enum: ['image', 'document', 'video', 'audio', 'sticker'] }, presence: { type: 'string', enum: ['composing', 'recording'] }, delay: { type: 'string' }, },