def __init__(self, api, group=None, subject=None, text=None, markdown=None, message_dict=None):
self.api = api<EOL>self.group = group<EOL>if message_dict is not None:<EOL><INDENT>self._load_message(message_dict)<EOL><DEDENT>else:<EOL><INDENT>self.subject = subject<EOL>self.text = text<EOL>self.markdown = markdown<EOL><DEDENT>
Create a new message object.

If `message` is provided, then `subject`/`text`/`markdown` will be ignored.