-
-
Notifications
You must be signed in to change notification settings - Fork 612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stickerUrl.replace is not a function #3229
Comments
Oi boa noite. Na sua config, adicione |
Não funcionou aqui :( |
Muito obrigado! funcionou para as imagens, porem para o video esta dando erro para a propriedade message.clientUrl em decrypt.js pelo oq eu vi ela nao existe no objeto message |
Essa aqui é a minha config
Tem umas paradas que não sei pra que serve, mas o importante que está fazendo figurinhas estáticas tanto animadas. |
Deu certo, muito obrigado!!! |
cara, funcionou aqui, nao sei exatamente qual flag fez a diferenca, na vdd suponho que seja uma combinacao delas, muito obrigado to usando essa sua agora |
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?
Personal account (normal)
Mode
EASY API/CLI
Current Behavior
Im trying to make a sticker with an image and this error apears "stickerUrl.replace is not a function" investigating i find the code and i see this

an boolean var doing a replace
Expected Behavior
No response
Steps To Reproduce
i use sendImageAsSticker function with this params
base 64
base64-error.txt
stickermetadata
{
author: "trevas",
pack: "trevas Stickers",
keepScale: true,
circle: false,
discord: "701084178112053288",
}
and i call
client.sendImageAsSticker(chatId, imagemBase64, stickerMetadata).catch(err=>{
consoleErro(err.message, "STICKER")
client.reply(chatId, msgs_texto.figurinhas.sticker.erro_s,id)
})
create() code OR full CLI command + CONFIG
No response
DEBUG INFO
Environment
Screenshots/Logs
Anything else?
No response
The text was updated successfully, but these errors were encountered: