code: def to_text(self):
          
          if self.text is None:
              return
          else:
              text = ''
              for t in self.text:
                  text += t.to_text() + ' '
              return ' '.join(text.split())
docs: Render a Text MessageElement as plain text
  
          :returns: Text representation of the Text MessageElement.
          :rtype: str