Add media field to message attributes

This commit is contained in:
isthevao 2025-11-11 16:24:25 -03:00 committed by GitHub
parent 043a7f9b3c
commit 269c3bcba2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,6 +33,7 @@ class MessageService:
'mimetype': (None, message.mimetype, 'text/plain'),
'caption': (None, message.caption, 'text/plain'),
'fileName': (None, message.fileName, 'text/plain'),
'media': (None, message.media, 'text/plain')
}
# Adicionar delay apenas se existir
@ -202,4 +203,4 @@ class MessageService:
f'message/sendButtons/{instance_id}',
data=data,
instance_token=instance_token
)
)