code: def message(message_type, payload, payload_length):
      
      return packet.build(
          Container(
              type=message_type,
              id=1,
              refer=0,
              sent=Container(
                  secs=0,
                  usecs=0
              ),
              recv=Container(
                  secs=0,
                  usecs=0
              ),
              payload_length=payload_length,
              payload=payload
          )
      )
docs: Build a message.