It is in the docs but it is easy to overlook it if your not a programmer used to seeing what’s called overloaded functions. This is where it can be very useful for a non programmer to explain it in clear and easy terms. See here I find this pretty clear and there is more mention at the top of the action list.
All the actions can have the chat id’s added as the first arguement, or left out as you did to be sent to the bots group.
You can also specify directions.