message-buffer-name

message-buffer-name is a compiled Lisp function in `message.el'.

(message-buffer-name TYPE &optional TO GROUP)

Return a new (unique) buffer name based on TYPE and TO.