Features
Public A/B props read API (#1539) Applications can now watch and read boolean A/B props the library doesn’t already consume, so a server gate likeAURA_PINNED_CHATS_BENEFIT_ACTIVE (the WhatsApp Plus pinned-chats limit) is reachable from user code.
Previously the props cache kept only flags in the library’s internal WATCHED set and dropped everything else while the catalog streamed in, so an application had no way to learn a server gate it cared about.
New builder methods and client accessor:
ClientBuilder::with_watched_ab_propsandBotBuilder::with_watched_ab_propsregister extraAbPropflags before the firstfetch_props(). Calls accumulate.Client::ab_prop_enabledreads a watched boolean prop back asOption<bool>. It returnsNonewhen the client holds no value — not watched, not fetched yet, or not sent by the server — instead of substituting the registry default, so callers can tell “off” from “unknown”.
AbPropsCache::get_bool, which is_enabled now reuses so both paths agree on what counts as "1", "true", or "enabled".