xmtp library

Library containing the XMTP client SDK for Flutter applications written in dart.

Classes

Api
This is an instance of the xmtp.MessageApiClient with some metadata helpers (e.g. for setting the authorization token).
AuthData
BatchQueryRequest
BatchQueryResponse
Ciphertext
Ciphertext_Aes256gcmHkdfsha256
Client
This is the top-level entrypoint to the XMTP flutter SDK.
Codec<T extends Object>
This defines the interface for a content codec of a particular type T. It is responsible for knowing how to encode the content T. And it is responsible for knowing how to decode the EncodedContent.
CodecRegistry
This is a registry of codecs for particular types.
Composite
Composite_Part
Compression
ContactBundle
ContactBundleV1
ContactBundleV2
ContentTypeId
Conversation
This represents an ongoing conversation. It can be provided to Client to listMessages and sendMessage. The Client also allows you to streamMessages from this Conversation.
CreateAuthTokenRequest
CreateInviteRequest
CreateInviteResponse
Cursor
DecodedContent
This represents the result of decoding content.
DecodedMessage
This represents a fully decoded message. It attempts to give uniform shape to v1 and v2 messages.
DecryptResponse
DecryptResponse_Response
DecryptResponse_Response_Success
DecryptV1Request
DecryptV1Request_Request
DecryptV2Request
DecryptV2Request_Request
EciesMessage
EncodedContent
EncryptedPrivateKeyBundle
EncryptedPrivateKeyBundleV1
EncryptResponse
EncryptResponse_Response
EncryptResponse_Response_Success
EncryptV1Request
EncryptV1Request_Request
EncryptV2Request
EncryptV2Request_Request
Envelope
ErrorCode
GetConversationsResponse
GetKeystoreStatusRequest
GetKeystoreStatusResponse
GetKeystoreStatusResponse_KeystoreStatus
GetPrivatePreferencesTopicIdentifierResponse
GetRefreshJobRequest
GetRefreshJobResponse
IndexCursor
InitKeystoreRequest
InitKeystoreResponse
InvitationV1
InvitationV1_Aes256gcmHkdfsha256
InvitationV1_Context
JobType
KeystoreError
Message
MessageApiClient
MessageApiServiceBase
MessageHeaderV1
MessageHeaderV2
MessageV1
MessageV2
PagingInfo
PrivateKey
PrivateKey_Secp256k1
PrivateKeyBundle
PrivateKeyBundleV1
PrivateKeyBundleV2
PrivatePreferencesAction
PrivatePreferencesAction_Allow
PrivatePreferencesAction_Block
PublicKey
PublicKey_Secp256k1Uncompressed
PublicKeyBundle
PublishRequest
PublishResponse
QueryRequest
QueryResponse
SaveInvitesRequest
SaveInvitesRequest_Request
SaveInvitesResponse
SaveInvitesResponse_Response
SaveInvitesResponse_Response_Success
SaveV1ConversationsRequest
SaveV1ConversationsResponse
SealedInvitation
SealedInvitationHeaderV1
SealedInvitationV1
SelfDecryptRequest
SelfDecryptRequest_Request
SelfEncryptRequest
SelfEncryptRequest_Request
SelfEncryptResponse
SelfEncryptResponse_Response
SelfEncryptResponse_Response_Success
SetRefeshJobRequest
SetRefreshJobResponse
Signature
Signature_ECDSACompact
Signature_WalletECDSACompact
SignDigestRequest
SignedContent
SignedEciesCiphertext
SignedEciesCiphertext_Ecies
SignedPayload
SignedPrivateKey
SignedPrivateKey_Secp256k1
SignedPublicKey
SignedPublicKeyBundle
Signer
Abstraction over a wallet with an address that can signPersonalMessages.
SortDirection
SubscribeAllRequest
SubscribeRequest
TextCodec
This is a basic text Codec that supports UTF-8 encoding.
Token
TopicMap
TopicMap_TopicData
UnsignedPublicKey
UnsignedPublicKey_Secp256k1Uncompressed

Extensions

CompatPrivateKeyBundle on PrivateKeyBundle
This enhances the xmtp.PrivateKeyBundle to simplify access to the "wallet", "identity" and "preKeys".
CredentialsToSigner on Credentials
This adds a helper to Credentials to treat it as a Signer.

Properties

contentTypeText ContentTypeId
final