fix: include mimetype in document messages (#116)
This commit is contained in:
parent
9820a77f28
commit
6b7f96dd68
@ -272,6 +272,7 @@ class Whatsapp::Providers::WhatsappBaileysService < Whatsapp::Providers::BaseSer
|
||||
content[:ptt] = attachment.meta&.dig('is_recorded_audio')
|
||||
when 'file'
|
||||
content[:document] = buffer
|
||||
content[:mimetype] = attachment.file.content_type
|
||||
when 'sticker'
|
||||
content[:sticker] = buffer
|
||||
when 'video'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user