on_send or on_receive, using the
id that call returned.
Parameters
number
required
The listener id.
Behavior
- Unknown ids are ignored, so disconnecting twice is harmless.
- Hooks are not listeners. Remove those with
remove_send_hookorremove_receive_hookinstead.