Module: types
- class omemo.types.AsyncFramework(*values)[source]
Bases:
EnumFrameworks for asynchronous code supported by python-omemo.
- ASYNCIO = 'ASYNCIO'
- TWISTED = 'TWISTED'
- class omemo.types.DeviceInformation(namespaces, active, bare_jid, device_id, identity_key, trust_level_name, label)[source]
Bases:
NamedTupleStructure containing information about a single OMEMO device.
- Parameters:
- exception omemo.types.OMEMOException[source]
Bases:
ExceptionParent type for all custom exceptions in this library.
- class omemo.types.SignedLabel(label, signature)[source]
Bases:
NamedTupleStructure containing a device label and the corresponding signature.
Type Aliases
- omemo.types.DeviceList
alias of
Dict[int,SignedLabel|None]