#NEWLINE# def get_outbound_payload( self , msg ) : #NEWLINE# #INDENT# config = self . config #NEWLINE# return OUTBOUND_REQUEST_XML . format ( channel = escape ( config . channel ) , service = escape ( config . service ) , password = escape ( config . password ) , number = escape ( msg . phone_number ) , text = escape ( msg . text . encode ( 'utf-8' ) ) )