;&gt;</span> Unsigned.size_t</code></dt><dd><p><code>encrypt_message_type sess</code></p><p>The type of the next message that olm_encrypt() will return. Returns OLM_MESSAGE_TYPE_PRE_KEY if the message will be a PRE_KEY message. Returns OLM_MESSAGE_TYPE_MESSAGE if the message will be a normal message. Returns olm_error on failure.</p></dd></dl><dl><dt class="spec value" id="val-encrypt_random_length"><a href="#val-encrypt_random_length" class="anchor"></a><code><span class="keyword">val</span> encrypt_random