Open manteguinha opened 1 year ago
@manteguinha please provide a test value for LINK_PIC_HERE
that results in this error
@manteguinha please provide a test value for
LINK_PIC_HERE
that results in this error
with any image or file link the error occurs, but in the tests I did I used getProfilePicFromServer
to get the profile picture link, in the browser the picture opens perfectly, but to download the error appears.
I'm facing the same issue. Even with local files this doesnt work.
client.sendFile( requester.chatId, './media/img/Kaguya.png', 'image.png', caption );
Got me Error: Evaluation failed: Error: MediaFileEmpty
I tested it on an Intel processor with Chrome and it worked, so apparently the problem is because of the arm processor or the chromium.
Hey guys, I solve this problem using Docker with Docker Compose.
I had problems with native compose install in arm, so I used those commands to make the install. Works for me.
Are you using the latest version of the library?
What type of session are you experiencing this issue on?
Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag
What type of host account are you experiencing this issue on?
Business account
Mode
My own code
Current Behavior
No response
Expected Behavior
No response
Steps To Reproduce
When using either of the 2 I get the error. I only tested these 2 methods, I don't know if the error occurs in any other.
client.sendFileFromUrl(chatId, LINK_PIC_HERE, "img.jpg", 'description', id)
client.sendImage(chatId, LINK_PIC_HERE, "img.jpg", 'description', id)
create() code OR full CLI command + CONFIG
No response
DEBUG INFO
Environment
Screenshots/Logs
Anything else?
No response