def send(self, group_id=None, message_dict=None):
if self.group is not None and self.group.id is not None:<EOL><INDENT>group_id = self.group.id<EOL><DEDENT>path = '<STR_LIT>' % group_id<EOL>if message_dict is not None:<EOL><INDENT>request_data = {<EOL>'<STR_LIT:message>': message_dict,<EOL>}<EOL><DEDENT>else:<EOL><INDENT>subject = self.subject<EOL>text = self.text<EOL>markdown = self.markdown<EOL>request_data = {<EOL>'<STR_LIT:message>': {},<EOL>}<EOL>if subject:<EOL><INDENT>request_data['<STR_LIT:message>']['<STR_LIT>'] = subject<EOL><DEDENT>if text:<EOL><INDENT>request_data['<STR_LIT:message>']['<STR_LIT:text>'] = text<EOL><DEDENT>if markdown:<EOL><INDENT>request_data['<STR_LIT:message>']['<STR_LIT>'] = markdown<EOL><DEDENT><DEDENT>response_data = self.api.request(path, request_data)<EOL>self.id = response_data['<STR_LIT>']<EOL>self.thread_id = response_data['<STR_LIT>']<EOL>self.sent_message = FiestaMessage(self.api, response_data['<STR_LIT:message>'])<EOL>
Send this current message to a group.

`message_dict` can be a dictionary formatted according to http://docs.fiesta.cc/list-management-api.html#messages
If message is provided, this method will ignore object-level variables.