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

send message to groups #33

Closed
behind24proxies opened this issue Dec 10, 2022 · 3 comments
Closed

send message to groups #33

behind24proxies opened this issue Dec 10, 2022 · 3 comments
Labels
question Further information is requested waha:CORE Relates to WAHA Core version

Comments

@behind24proxies
Copy link

hi, there is no endpoint to send messages to groups.
and there is no way to get the chat id of groups.

@allburov
Copy link
Collaborator

allburov commented Dec 11, 2022

Hi!

hi, there is no endpoint to send messages to groups.
The usual sendText works here https://waha.devlike.pro/docs/how-to/send-messages/#send-text-imagesversionscorepng-imagesversionspluspng - set group id in chatId field

You need to get chat id of the group first - it's better to do so by joining the group and then receiving a message - the event that send to the webhook contains chat id that you're searching for

and there is no way to get the chat id of groups.

It's true, right now there's no way to get list of groups nor list of your contacts. We're working on it tho #32

@allburov allburov added question Further information is requested waha:CORE Relates to WAHA Core version labels Dec 11, 2022
@allburov
Copy link
Collaborator

@behind24proxies Please let us know if it doesn't help!

@allburov allburov mentioned this issue Dec 11, 2022
12 tasks
@behind24proxies
Copy link
Author

Hi!

hi, there is no endpoint to send messages to groups.
The usual sendText works here https://waha.devlike.pro/docs/how-to/send-messages/#send-text-imagesversionscorepng-imagesversionspluspng - set group id in chatId field

You need to get chat id of the group first - it's better to do so by joining the group and then receiving a message - the event that send to the webhook contains chat id that you're searching for

and there is no way to get the chat id of groups.

It's true, right now there's no way to get list of groups nor list of your contacts. We're working on it tho #32

Yes, that works 👍👍
Are you also making a get endpoint to retrieve the last x messages from a convo? (I opened an issue for that a while ago, nobody answered)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested waha:CORE Relates to WAHA Core version
Projects
None yet
Development

No branches or pull requests

2 participants