I dont know is ita work with android pydroid3 or termux but if you are coding on vscode then you mush to install that pkg & also make sure you are connected to the whatsapp web for the same.