def send_message(self, recipient, message):

        '''
            Send Message

            Sends a message to a Telegram Recipient.
            From telegram-cli:
                msg <peer> <text>       Sends text message to peer

            --
            @param  recipient:str   The telegram recipient the message is intended
                                    for. Can be either a Person or a Group.
            @param  message:str     The message to send.
            @return None
        '''

        payload = 'msg {recipient} {message}'.format(
            recipient = strings.escape_recipient(recipient),
            message = strings.escape_newlines(message.strip())
        )
        self._send(payload)

        return
def send_message ( self , recipient , message ) : payload = 'msg {recipient} {message}' . format ( recipient = strings . escape_recipient ( recipient ) , message = strings . escape_newlines ( message . strip ( ) ) ) self . _send ( payload ) return
Send Message

            Sends a message to a Telegram Recipient.
            From telegram-cli:
                msg <peer> <text>       Sends text message to peer

            --
            @param  recipient:str   The telegram recipient the message is intended
                                    for. Can be either a Person or a Group.
            @param  message:str     The message to send.
            @return None