Skip to main content

Module protocol

Module protocol 

Source
Expand description

Main protocol engine.

Structs§

CustodyStats
What a custodian has done, and is holding.
MediaSendOptions
Options for OfflineProtocol::send_media_with: the chunk-0 media metadata (as on send_media), plus the rich fields introduced with the sealed rich payload and an optional caller-supplied file_id.
OfflineProtocol
Main entry point for the Offline Protocol SDK.
PendingQueueMetrics
Counters and gauges for pending encrypted message queue pressure.
SendMessageOptions
Options for OfflineProtocol::send_message_with: priority and reply threading (as on send_message), plus the rich fields introduced with the sealed rich payload.

Enums§

CustodyRefusal
Why a frame at the drop point was not taken into custody, in the order the chapter’s acceptance table applies them.
GatewayCarrier
A carrier that speaks the gateway contract, and can therefore answer about a third party’s reachability.
ProtocolState
Protocol state.