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

How to send into two chatids= into two groups at the same time? #111

Closed
ozett opened this issue Jun 4, 2020 · 7 comments
Closed

How to send into two chatids= into two groups at the same time? #111

ozett opened this issue Jun 4, 2020 · 7 comments

Comments

@ozett
Copy link

ozett commented Jun 4, 2020

i want to send the same message into two differnt groups.

i lookuped up all the issues and the readme.md and found no hint.
how to set up two receiving group ids? for the same mesage?
two times the sender node? or can i specify two receiving chat-ids at the same time?

any hint greatly appreciateted to approach this. thankx
tozett

@windkh
Copy link
Owner

windkh commented Jun 4, 2020

You can specify an array of ids

@windkh windkh closed this as completed Jun 4, 2020
@ozett
Copy link
Author

ozett commented Jun 5, 2020

GREAT!

thanks for the fingertip!
👍

@ozett
Copy link
Author

ozett commented Jun 5, 2020

just a little observation:
when i put two different chat-IDs into a json-array to send one message to two differnent groups it works fine. when i check both groups, they received this one message. all look correct.

when i check the node-red debug-log, than i dont have there two confirmations with the different chat-ids. instead i have two confirmation messages with the same chat-id (wich is the last element in the array). maybe a bug?

image

@windkh windkh reopened this Jun 7, 2020
@windkh
Copy link
Owner

windkh commented Jun 7, 2020

Thanks ... that seems to be an error

@ozett
Copy link
Author

ozett commented Jun 7, 2020

👀

windkh added a commit that referenced this issue Jun 14, 2020
msg is cloned when sending to many chats
@windkh
Copy link
Owner

windkh commented Jun 14, 2020

fixed in 8.2.0

@windkh windkh closed this as completed Jun 14, 2020
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