Skip to main content

Module types

Module types 

Source
Expand description

Types representing the current representation of the world to libxmtp

Structs§

ApiIdentifier
AppVersion
An Inbox-App specific version
CanonicalEnvelope
Canonical outer encoding and its hash. Inner payload bytes are unchanged.
CommitLogEntry
Cursor
Highest sequence id processed on one topic. Zero starts at the beginning.
DecryptedWelcomePointer
DecryptedWelcomePointerBuilder
Builder for DecryptedWelcomePointer.
GroupId
The canonical group identifier. Exactly 16 bytes, by protocol invariant.
GroupMessage
A GroupMessage from the network
GroupMessageBuilder
Builder for GroupMessage.
GroupMessageMetadata
GroupMessageMetadataBuilder
Builder for GroupMessageMetadata.
IdentityUpdateLog
IncomingBatchLimits
Limits for one complete transport delivery before payload processing.
IncomingSubscription
The receipt callback accepts only positions committed to local storage.
InstallationId
OrderedEnvelopeBatch
One ordered delivery from a topic. after is the cursor used for this read.
Topic
A topic where the first byte is the kind https://github.com/xmtp/XIPs/blob/main/XIPs/xip-49-decentralized-backend.md#332-envelopes
WelcomeMessage
Welcome Message from the network
WelcomeMessageBuilder
Builder for WelcomeMessage.
WelcomeMessageV1
WelcomeMessageV1Builder
Builder for WelcomeMessageV1.
WelcomePointer
WelcomePointerBuilder
Builder for WelcomePointer.

Enums§

ConversationType
GroupIdParseError
Error returned by <GroupId as FromStr>::from_str.
IncomingEvent
Transport events do not mean that an envelope is stored or processed.
TopicKind
WelcomeMessageType

Functions§

canonical_envelope
Encode the outer envelope once for storage, retries, and hash matching.

Type Aliases§

IdentifierToInboxIdMap
Maps account addresses to inbox IDs. If no inbox ID found, the value will be None
SequenceId
TopicCursor
Independent positions for backend topics.