Module Session.Message
val ciphertext : t -> stringciphertext t
val is_pre_key : t -> boolis_pre_key t
val to_size : t -> Unsigned.size_tto_size tThe size_t identifier of this message's type. PreKey = 0, Message = 1.
val to_string : t -> stringto_string t
val create : string -> int -> (t, [> `ValueError of string ]) Core.resultcreate text message_type_intOnly means of creating a
Message.t.textmust not be empty, andmessage_type_intmust be 0 (PreKey) or 1 (Message). The type is returned byC.Funcs.encrypt_message_typeas a size_t.`ValueErrorif these conditions are not met.