code: def OpenMessageDialog(self, Username, Text=u''):
          
          self.OpenDialog('IM', Username, tounicode(Text))
docs: Opens "Send an IM Message" dialog.
  
          :Parameters:
            Username : str
              Message target.
            Text : unicode
              Message text.