Features
Hidden subgroup visibility (#1522) Subgroup visibility is now part of the public community API. A hidden subgroup is omitted from the community’s subgroup list for users who are not members; a visible subgroup appears for everyone. Visibility is fixed at creation or link time — WhatsApp does not support changing it later. New types inwhatsapp_rust::features::community:
SubgroupVisibility—Visible(default) orHidden.CreateSubgroupOptions— name, participants, parent JID, and visibility, withnew(...)andwith_visibility(...)builders.LinkSubgroupOptions— one(jid, visibility)pair per group.
Community:
create_subgroup_with_options— create a subgroup with an explicit add-time visibility in one round-trip.link_subgroups_with_options— link existing groups with a per-group visibility, mixing visible and hidden in a single IQ.
create_subgroup and link_subgroups still work and default to SubgroupVisibility::Visible, so existing call sites do not need to change.
CommunitySubgroup gained an is_hidden_group: bool field, parsed from the hidden_group property in the MEX subgroup listing. It defaults to false when the server omits the field, so existing readers keep working. See the community management guide for a full walkthrough.