Functions

Link copied to clipboard

Decrypts given event. Returns null, when encryption algorithm is not supported by this service.

Link copied to clipboard
abstract suspend fun encrypt(content: MessageEventContent, roomId: RoomId): Result<MessageEventContent>?

Encrypts given event. Returns null, when encryption algorithm is not supported by this service.