diff --git a/docs/api.rst b/docs/api.rst index f6661342e..8bd2b2cff 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -562,8 +562,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. .. function:: on_group_join(channel, user) on_group_remove(channel, user) - Called when someone joins or leaves a group, i.e. a :class:`PrivateChannel` - with a :attr:`PrivateChannel.type` of :attr:`ChannelType.group`. + Called when someone joins or leaves a :class:`GroupChannel`. :param channel: The group that the user joined or left. :param user: The user that joined or left.