E2e.chain.Change

A change applied to the E2E conference call blockchain state, recorded in an e2e.chain.Block to modify the call's key-value store, participant list, or shared encryption key.

e2e.chain.changeNoop#deb4a41b nonce:int256 = e2e.chain.Change;
e2e.chain.changeSetValue#7c4f9bfa key:bytes value:bytes = e2e.chain.Change;
e2e.chain.changeSetGroupState#2cf17146 group_state:e2e.chain.GroupState = e2e.chain.Change;
e2e.chain.changeSetSharedKey#987a2158 shared_key:e2e.chain.SharedKey = e2e.chain.Change;

Constructors

Constructor Description
e2e.chain.changeNoop A no-operation E2E conference call blockchain change, potentially used only to randomize the resulting block hash.
e2e.chain.changeSetValue Updates the key-value trie state for an E2E conference call blockchain.
e2e.chain.changeSetGroupState Updates the E2E conference call participant list and permissions, clearing the current shared key state.
e2e.chain.changeSetSharedKey Establishes a new shared encryption key for an E2E conference call, see change types for group calls ยป.

Related pages

E2E Group Calls

End-to-end encryption used for Telegram group voice and video calls, using a blockchain for state management.

E2e.chain.Block

A block in the main E2E conference call blockchain, containing state changes for the call and the resulting state proof.

When submitting blocks to the server, use the canonical constructor ID shown in the schema; blocks returned by the server use the incremented constructor ID described in the subchain documentation.