code: def SendTextMessage(self, Text):
          
          if self.Type == cctReliable:
              self.Stream.Write(Text)
          elif self.Type == cctDatagram:
              self.Stream.SendDatagram(Text)
          else:
              raise SkypeError(0, 'Cannot send using %s channel type' & repr(self.Type))
docs: Sends a text message over channel.
  
          :Parameters:
            Text : unicode
              Text to send.