/* Set the callback for group messages. * * Function(Tox *tox, int groupnumber, int friendgroupnumber, uint8_t * message, uint16_t length, void *userdata) */ void tox_callback_group_message(void *tox, void (*function)(Messenger *tox, int, int, uint8_t *, uint16_t, void *), void *userdata) { Messenger *m = tox; m_callback_group_message(m, function, userdata); }
/* Set the callback for group messages. * * Function(Tox *tox, int groupnumber, int friendgroupnumber, size_t * message, size_t length, void *userdata) */ void tox_callback_group_message(Tox *tox, void (*function)(Messenger *tox, int, int, size_t *, size_t, void *), void *userdata) { Messenger *m = tox; m_callback_group_message(m, function, userdata); }