pub unsafe extern "C" fn olm_encrypt_message_type(
    session: *const OlmSession
) -> usize
Expand description

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.