Re-exports§
pub use cache_config::CacheConfig;pub use cache_config::CacheEntryConfig;pub use cache_config::CacheStores;pub use client::Client;pub use client::NodeFilter;pub use handlers::chatstate::ChatStateEvent;pub use runtime_impl::TokioRuntime;pub use send::PinDuration;pub use send::RevokeType;pub use send::SendOptions;pub use send::SendResult;pub use upload::UploadOptions;pub use features::BatchGroupResult;pub use features::Blocking;pub use features::ChatActions;pub use features::ChatStateType;pub use features::Chatstate;pub use features::Community;pub use features::CommunitySubgroup;pub use features::Contacts;pub use features::CreateCommunityOptions;pub use features::CreateCommunityResult;pub use features::CreateGroupResult;pub use features::EncryptedEdit;pub use features::GroupMetadata;pub use features::GroupParticipant;pub use features::GroupType;pub use features::Groups;pub use features::LinkSubgroupsResult;pub use features::MediaReupload;pub use features::MediaReuploadRequest;pub use features::Mex;pub use features::MexError;pub use features::MexRequest;pub use features::Newsletter;pub use features::NewsletterMessage;pub use features::NewsletterMessageType;pub use features::NewsletterMetadata;pub use features::NewsletterReactionCount;pub use features::NewsletterRole;pub use features::NewsletterState;pub use features::NewsletterVerification;pub use features::Presence;pub use features::PresenceError;pub use features::PresenceStatus;pub use features::Profile;pub use features::Signal;pub use features::Status;pub use features::StatusPrivacySetting;pub use features::StatusSendOptions;pub use features::SyncActionMessageRange;pub use features::TcToken;pub use features::UnlinkSubgroupsResult;pub use features::group_type;pub use features::message_key;pub use features::message_range;pub use waproto;
Modules§
- appstate_
sync - bot
- cache
- Unified cache type that dispatches to moka or the portable implementation
depending on the
moka-cachefeature flag. - cache_
config - cache_
store - Typed cache wrapper that dispatches to either moka (in-process) or a custom
CacheStorebackend (e.g., Redis). - client
- download
- features
- handlers
- handshake
- history_
sync - http
- jid_
utils - keepalive
- lid_
pn_ cache - LID-PN (Linked ID to Phone Number) Cache
- mediaconn
- Media connection management.
- message
- pair
- pair_
code - Pair code authentication for phone number linking.
- pdo
- PDO (Peer Data Operation) support for requesting message content from the primary device.
- prekeys
- Pre-key management for Signal Protocol.
- privacy_
settings - Privacy settings IQ specification.
- proto_
helpers - receipt
- request
- retry
- runtime_
impl - send
- session
- socket
- spam_
report - Spam reporting feature.
- sticker_
pack - Sticker pack creation helpers.
- store
- sync_
task - traits
- Storage traits for the WhatsApp client.
- transport
- types
- unified_
session - Unified session telemetry manager.
- upload
- usync
- User device list synchronization.
- version
- webp
- WebP format utilities.
Macros§
- require_
from_ jid - Extract the required
fromJID attribute from aNodeRef, or log a warning and return from the enclosing function.
Structs§
- Blocklist
Entry - A single blocklist entry from the response.
- Client
Profile - Compact
String - A
CompactStringis a compact string type that can be used almost anywhere aStringorstrcan be used. - Group
Create Options - Options for creating a new group.
- Group
Description - A validated group description string.
- Group
Participant Options - Options for a participant when creating a group.
- Group
Profile Picture - A single group profile picture result.
- Group
Subject - A validated group subject string.
- Growth
Lock Info - Growth lock info (system-managed, read-only).
- IsOn
Whats AppResult - Jid
- Membership
Request - MexError
Extensions - MEX GraphQL error extensions.
- MexResponse
- MEX GraphQL response.
- Node
Builder - Owned
Node Ref - A decoded node that owns its decompressed buffer. The inner
NodeRefborrows string/byte payloads directly from the buffer, avoiding copies. Container allocations (attribute Vec, child Vec) still occur during decode. - Participant
Change Response - Response for participant change operations.
- Profile
Picture - Profile picture information.
- SetProfile
Picture Response - Response from setting a profile picture.
- Spam
Report Request - A request to report a message as spam.
- Spam
Report Result - The result of a spam report.
- User
Info - User information from usync.
Enums§
- Group
Join Error - Error codes returned when joining a group via invite.
- Invite
Info Error - Error codes returned when querying invite group info.
- Join
Group Result - Result of joining a group via invite code.
- Media
Retry Result - Result of a media retry request.
- Member
AddMode - Member add mode for who can add participants.
- Member
Link Mode - Member link mode for group invite links.
- Member
Share History Mode - Who can share message history with new members.
- Membership
Approval Mode - Membership approval mode for join requests.
- Participant
Type - Participant type (admin level).
- Picture
Type - Profile picture query type.
- Server
- Known WhatsApp server identifiers.
- Spam
Flow - The type of spam flow indicating the source of the report.
Traits§
- Cache
Store - Backend trait for pluggable cache storage.
- Runtime
- A runtime-agnostic abstraction over async executor capabilities.