banawa-chat/message.mli
2023-05-04 13:49:25 +02:00

12 lines
230 B
OCaml

type t
val split_at : len:int -> t -> string list
val make : nickname:string -> string -> t
val nickname : t -> string
val message : t -> string
val msgf :
?nickname:string
-> ('a, Format.formatter, unit, t) format4
-> 'a