Skip to content
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

cannot read properties of undefined (reading 'sendmessage') for numbers not in contact list #1188

Open
RMG94 opened this issue Oct 23, 2023 · 3 comments

Comments

@RMG94
Copy link

RMG94 commented Oct 23, 2023

  • Advertising of monetized Frameworks is strictly forbidden and will be reported

  • The language must be English, if you are not fluent in English consider using: https://www.deepl.com/translator if it supports your native language

  • Please check if any other issue already adresses your concerns or if a recent PR is already fixing the mentioned issue

  • Please make sure to format your code, and to mark your code as such, with the provided tools from github (upper right of this box)

  • Please state your Operating System (inlcuding version), your Python Version, and your installation way (pip, from repo) and if you are running it inside a docker container

  • Note that the pip installation might be behind, so try to fix your issue with a pull from the repo and update to the most recent version

  • Follow the Stackoverflow Guidelines (https://stackoverflow.com/help/how-to-ask) when in need of help

  • Consider posting your question on Stackoverflow if it is a general programming question

  • There will be no support for spamming, or other mischief

  • There will be no support for finding professionals

@RMG94 RMG94 changed the title cannot read properties of undefined (reading 'sendmessage') for numbers not in my contact cannot read properties of undefined (reading 'sendmessage') for numbers not in contact list Oct 23, 2023
@Diegocndd
Copy link

sendmessage is reserved for contacts (each contact and group has an id that must be passed to sendmessage).

@RMG94
Copy link
Author

RMG94 commented Mar 19, 2024

Thank you @Diegocndd.
What should I use to send a message to a number not exist in my contact list?

@Diegocndd
Copy link

I think the only way is using the link https://api.whatsapp.com/send?phone=xxxxxxxxx&text=yyyyyyy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants